Обсуждение: Problem with locale on Solaris 8.0 intel

Поиск
Список
Период
Сортировка

Problem with locale on Solaris 8.0 intel

От
Victor Wagner
Дата:
On the the Solaris 8.0 platform,
when database is build using Russian WIN encoding
and initdb performed using LANG=ru_RU.ANSI1251,

some russian letters for instance
"small letter e" and "small letter che"  according
to unicode consortium naming, are considered equal.

so I cannot insert into key field of some table russian words
for this (ETO) and what(CHTO).

Problem doesn't occur on Linux with ru_RU.CP1251 locale

Locale itself is correctly written

perl script
---
use locale;
print  (("\375\362\356" eq "\367\362\356")?1:0,"\n");
----
returns 0 with locale ru_RU.ANSI1251

--
Victor Wagner            vitus@ice.ru
Chief Technical Officer        Office:7-(095)-748-53-88
Communiware.Net         Home: 7-(095)-135-46-61
http://www.communiware.net      http://www.ice.ru/~vitus