* [Comm] проблемы с кодировкой @ 2003-09-04 18:17 Serg Grin'ko 2003-09-05 14:13 ` Alexej Kryukov 0 siblings, 1 reply; 8+ messages in thread From: Serg Grin'ko @ 2003-09-04 18:17 UTC (permalink / raw) To: community Hi! Есть проблема с кодировкой, т.е. вместо русских букв видна какая-то абракадабра (в консоли, X Window нет). Причем такая трабла в только что установленной системе (ALM 2.2). Файлик ~/.i18n вроде правильный: LANG=ru_RU.CP1251 LANGUAGE=ru_RU.CP1251 SYSFONTACM=cp1251 SYSFONT=UniCyr_8x16 DICTIONARY=russian MPAGE="-CCP1251" export DICTIONARY MPAGE Правда, во время установки системы были проблемы с пакетами console-tools и glibc-gconv-modules, но их я потом поставил из Сизифа. Подскажите, плз, как решить проблему. -- Serg ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблемы с кодировкой 2003-09-04 18:17 [Comm] проблемы с кодировкой Serg Grin'ko @ 2003-09-05 14:13 ` Alexej Kryukov 2003-09-05 19:14 ` Re[2]: " Serg Grin'ko 0 siblings, 1 reply; 8+ messages in thread From: Alexej Kryukov @ 2003-09-05 14:13 UTC (permalink / raw) To: community On Thursday 04 September 2003 22:17, Serg Grin'ko wrote: > Hi! > > Есть проблема с кодировкой, т.е. вместо русских букв видна какая-то > абракадабра (в консоли, X Window нет). Причем такая трабла в только Какого свойства абракадабра? > что установленной системе (ALM 2.2). > > Файлик ~/.i18n вроде правильный: > LANG=ru_RU.CP1251 > LANGUAGE=ru_RU.CP1251 > SYSFONTACM=cp1251 > SYSFONT=UniCyr_8x16 > DICTIONARY=russian > MPAGE="-CCP1251" > export DICTIONARY MPAGE > > Правда, во время установки системы были проблемы с пакетами > console-tools и glibc-gconv-modules, но их я потом поставил из > Сизифа. Похоже на то, что он и в самом деле правильный. А если попробовать проделать все операции вручную? setfont UniCyr_8x16.psf.gz mapscrn cp1251 Работает или нет? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[2]: [Comm] проблемы с кодировкой 2003-09-05 14:13 ` Alexej Kryukov @ 2003-09-05 19:14 ` Serg Grin'ko 2003-09-05 20:18 ` Alexej Kryukov 0 siblings, 1 reply; 8+ messages in thread From: Serg Grin'ko @ 2003-09-05 19:14 UTC (permalink / raw) To: Alexej Kryukov Hi, Alexej! Friday, September 5, 2003, 18:13, you wrote: >> Есть проблема с кодировкой, т.е. вместо русских букв видна какая-то >> абракадабра (в консоли, X Window нет). Причем такая трабла в только > Какого свойства абракадабра? Сложно сказать на словах (скриншот в консоли не знаю как делать), вобщем, необычная абракадабра :), т.е. такая не встречается, скажем, в письмах электронной почты. > А если попробовать проделать все операции вручную? > setfont UniCyr_8x16.psf.gz > mapscrn cp1251 Пишет: Warning: this is a shell wrapper; consider using consolechars(8) После выполнения этих команд вместо русских символов вообще только квадратики :( -- Serg ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re[2]: [Comm] проблемы с кодировкой 2003-09-05 19:14 ` Re[2]: " Serg Grin'ko @ 2003-09-05 20:18 ` Alexej Kryukov 2003-09-05 21:28 ` Re[4]: " Serg Grin'ko 0 siblings, 1 reply; 8+ messages in thread From: Alexej Kryukov @ 2003-09-05 20:18 UTC (permalink / raw) To: community On Friday 05 September 2003 23:14, Serg Grin'ko wrote: > Hi, Alexej! > > Friday, September 5, 2003, 18:13, you wrote: > >> Есть проблема с кодировкой, т.е. вместо русских букв видна > >> какая-то абракадабра (в консоли, X Window нет). Причем такая > >> трабла в только > > > > Какого свойства абракадабра? > > Сложно сказать на словах (скриншот в консоли не знаю как делать), > вобщем, необычная абракадабра :), т.е. такая не встречается, > скажем, в письмах электронной почты. Ну, если, например, псевдографика, то так и скажите. > > А если попробовать проделать все операции вручную? > > setfont UniCyr_8x16.psf.gz > > mapscrn cp1251 > > Пишет: > Warning: this is a shell wrapper; consider using consolechars(8) Правильно, так и должно быть. Ну а, например, на отсутствие файлов не жалуется? Возможно, жалуется, но по-русски и потому нечитаемо? > После выполнения этих команд вместо русских символов вообще только > квадратики :( То есть? Какие такие квадратики могут быть в консоли? Ну а если к перечисленному добавить еще echo -en "\033(K" ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[4]: [Comm] проблемы с кодировкой 2003-09-05 20:18 ` Alexej Kryukov @ 2003-09-05 21:28 ` Serg Grin'ko 2003-09-06 8:52 ` Alexej Kryukov 0 siblings, 1 reply; 8+ messages in thread From: Serg Grin'ko @ 2003-09-05 21:28 UTC (permalink / raw) To: Alexej Kryukov Hi, Alexej! Saturday, September 6, 2003, 0:18, you wrote: >> > А если попробовать проделать все операции вручную? >> > setfont UniCyr_8x16.psf.gz >> > mapscrn cp1251 >> >> Пишет: >> Warning: this is a shell wrapper; consider using consolechars(8) > Правильно, так и должно быть. Ну а, например, на отсутствие файлов > не жалуется? Возможно, жалуется, но по-русски и потому нечитаемо? Нет, только выдает warning. >> После выполнения этих команд вместо русских символов вообще только >> квадратики :( > То есть? Какие такие квадратики могут быть в консоли? Это в mc. > Ну а если к перечисленному добавить еще > echo -en "\033(K" никакой реакции -- Serg ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re[4]: [Comm] проблемы с кодировкой 2003-09-05 21:28 ` Re[4]: " Serg Grin'ko @ 2003-09-06 8:52 ` Alexej Kryukov 2003-09-06 10:06 ` Re[6]: " Serg Grin'ko 0 siblings, 1 reply; 8+ messages in thread From: Alexej Kryukov @ 2003-09-06 8:52 UTC (permalink / raw) To: community On Saturday 06 September 2003 01:28, Serg Grin'ko wrote: > Hi, Alexej! > > > никакой реакции Глупый вопрос: а что показывает команда locale? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[6]: [Comm] проблемы с кодировкой 2003-09-06 8:52 ` Alexej Kryukov @ 2003-09-06 10:06 ` Serg Grin'ko 2003-09-06 12:04 ` Alexej Kryukov 0 siblings, 1 reply; 8+ messages in thread From: Serg Grin'ko @ 2003-09-06 10:06 UTC (permalink / raw) To: Alexej Kryukov Hi, Alexej! Saturday, September 6, 2003, 12:52, you wrote: >> никакой реакции > а что показывает команда locale? LANG=ru_RU.CP1251 LC_CTYPE="ru_RU.CP1251" LC_NUMERIC="ru_RU.CP1251" LC_TIME="ru_RU.CP1251" LC_COLLATE="ru_RU.CP1251" LC_MONETARY="ru_RU.CP1251" LC_MESSAGES="ru_RU.CP1251" LC_PAPER="ru_RU.CP1251" LC_NAME="ru_RU.CP1251" LC_ADDRESS="ru_RU.CP1251" LC_TELEPHONE="ru_RU.CP1251" LC_MEASUREMENT="ru_RU.CP1251" LC_IDENTIFICATION="ru_RU.CP1251" LC_ALL= -- Serg ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re[6]: [Comm] проблемы с кодировкой 2003-09-06 10:06 ` Re[6]: " Serg Grin'ko @ 2003-09-06 12:04 ` Alexej Kryukov 0 siblings, 0 replies; 8+ messages in thread From: Alexej Kryukov @ 2003-09-06 12:04 UTC (permalink / raw) To: community On Saturday 06 September 2003 14:06, Serg Grin'ko wrote: > Hi, Alexej! > > Saturday, September 6, 2003, 12:52, you wrote: > >> никакой реакции > > > > а что показывает команда locale? > > LANG=ru_RU.CP1251 > LC_CTYPE="ru_RU.CP1251" > LC_NUMERIC="ru_RU.CP1251" > LC_TIME="ru_RU.CP1251" > LC_COLLATE="ru_RU.CP1251" > LC_MONETARY="ru_RU.CP1251" > LC_MESSAGES="ru_RU.CP1251" > LC_PAPER="ru_RU.CP1251" > LC_NAME="ru_RU.CP1251" > LC_ADDRESS="ru_RU.CP1251" > LC_TELEPHONE="ru_RU.CP1251" > LC_MEASUREMENT="ru_RU.CP1251" > LC_IDENTIFICATION="ru_RU.CP1251" > LC_ALL= Тогда у меня недостаточно информации, чтобы понять в чем дело. Видите ли насколько я помню работу с пакетом console-tools (сейчас не на чем проверить), отображение кириллицы в консоли зависит только от четырех вещей: шрифта (setfont), карты соответствий (mapscrn), магической последовательности и правильной установки локали. И если всё это установлено, а кириллицы, тем не менее, нет, то, значит, мы имеем дело со злым колдовством. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-09-06 12:04 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-09-04 18:17 [Comm] проблемы с кодировкой Serg Grin'ko 2003-09-05 14:13 ` Alexej Kryukov 2003-09-05 19:14 ` Re[2]: " Serg Grin'ko 2003-09-05 20:18 ` Alexej Kryukov 2003-09-05 21:28 ` Re[4]: " Serg Grin'ko 2003-09-06 8:52 ` Alexej Kryukov 2003-09-06 10:06 ` Re[6]: " Serg Grin'ko 2003-09-06 12:04 ` Alexej Kryukov
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