ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Локализация в Fluxbox
@ 2004-08-23  6:52 php-coder
  2004-08-23 10:36 ` Andrey Rahmatullin
  0 siblings, 1 reply; 3+ messages in thread
From: php-coder @ 2004-08-23  6:52 UTC (permalink / raw)
  To: community

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-30  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23  6:52 [Comm] Локализация в Fluxbox php-coder
2004-08-23 10:36 ` Andrey Rahmatullin
2004-08-30  7:38   ` Re[2]: " php-coder

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