[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Qt 2.1.0



Привет, народ!

Полез я в сырцы Qt посмотреть, как этот их нехороший QTextCodec
закачивает кириллицу в юникод, и был несколько разочарован троллевским
взглядом на работу с кириллицей. Чего стоит уже название функций типа
ru_RU_hack(). Да и комментарий нижеследующий меня весьма позабавил
(разумеется, я не опечатки имею ввиду).

// For the probably_koi8_locales we have to look. the standard says
// these are 8859-5, but almsot all Russion users uses KOI8-R and
// incorrectly set $LANG to ru_RU. We'll check tolower() to see what
// tolower() thinks ru_RU means.

// If you read the history, it seems that many Russians blame ISO and
// Peristroika for the confusion.
//
// The real bug is that some programs break if the user specifies
// ru_RU.KOI8-R.

Вот интересно мне, мы единственные, кто создаёт смуту в умах западных
программеров?

-- 
Best regards,
              Eugene