From: php-coder <php-coder@ngs.ru> To: community@altlinux.ru Subject: [Comm] Локализация в Fluxbox Date: Mon, 23 Aug 2004 13:52:42 +0700 Message-ID: <2213317844.20040823135242@ngs.ru> (raw) 0000100101011110100100101::23.08.2004::0110001001001000100111100100010 Привет, Linuxоиды! Есть следующая ситуация: часть меню (та, что отвечает за его настройки) генерируется при компиляции в файл fluxbox.cat в кодировке koi8-r. Другая часть меню (программы) может быть сгенерирована в любой момент скриптом fluxbox-generate_menu тоже в кодировке koi8-r. У меня локаль cp1251. Получается, что меню все не на русском, а в кракозябрах. Я вижу да варианта решения этой проблемы: - выставить шрифт для отображения в кодировке koi8-r - преред компиляцией сконвертировать файлы *.m в nls/ru_RU в кодировку cp1251, и после генерации меню файл ~/.fluxbox/menu тоже сконвертировать в эту кодировку. Но оба варианта мне кажутся не очень правильными - это не более чем костыли. Поэтому и вопрос мой к вам: Как вообще идеологически верно эта проблема решается? Чтобы у пользователя, вне зависимости от используемой им локали, все сообщения были в соответствующей кодировке? Спасибо за внимание! -- С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru) Registered Linux User #327594 ALT Linux Master 2.2 (kernel 2.4.27) 010010010010010001010101100::Linux RuleZz!::10001001000100010001000111
next reply other threads:[~2004-08-23 6:52 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-23 6:52 php-coder [this message] 2004-08-23 10:36 ` Andrey Rahmatullin 2004-08-30 7:38 ` Re[2]: " php-coder
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=2213317844.20040823135242@ngs.ru \ --to=php-coder@ngs.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git