Forum › Forums › New users › New Users and General Questions › About ‘Mojibake’ or character corruption in Japanese boot messages
- This topic has 8 replies, 3 voices, and was last updated Apr 7-9:58 am by verdy.
-
AuthorPosts
-
April 4, 2023 at 1:47 pm #104041Member
verdy
Hello
First of all, I have no technical knowledge about system boot, so there may be some strange expressions in the text. I apologize in advance.
It will appear from the screen that exits the boot menu,and staring the next process
One is the screen that appears when messages are showing,as ‘searching for boot devices’, ‘
findingfound boot devices’, ‘running live scripts’, ‘starting init’.There are two texts as ‘Alt -F1=’View boot process’ in the lower left corner,and ‘Alt -F10=’Return here’ in the lower right corner.
At booting by japanese, the string to the after of the ‘=’ looks like a symbol on japanese.demo@antix1:/etc/live/config/tsplash $ cat tsplash.log [ 0001.67] Started tsplash with 'Z' [ 0001.68] read /live/locale/xlat/en/tsplash.xlat [ 0001.68] Translate to ja [ 0001.68] antiX 23-beta1-runit (Grup Yorum) [ 0001.68] redraw on /dev/tty10 [ 0001.68] Set font to Uni2-VGA16 [ 0001.69] New screen width 80 --------------------------- [ 0001.97] cmd: progress search for boot device [ 0001.97] read /live/locale/xlat/en/tsplash.xlat [ 0001.97] Translate to ja --------------------------- [ 0004.56] cmd: progress found boot device [ 0004.56] read /live/locale/xlat/en/tsplash.xlat [ 0004.56] Translate to ja --------------------------- [ 0006.69] cmd: alert Look for persist device with name /dev/sdb2 [ 0006.69] read /live/locale/xlat/en/tsplash.xlat [ 0006.69] Translate to ja --------------------------- [ 0007.38] cmd: progress run live scripts [ 0007.38] read /live/locale/xlat/en/tsplash.xlat [ 0007.38] Translate to ja --------------------------- [ 0027.15] cmd: progress start init [ 0027.16] read /live/locale/xlat/en/tsplash.xlat [ 0027.16] Translate to jaThe second is the password setting screen for root and demo. Most of the characters are illegible.I know English screens, so I know what to do here. Even so, it is.
I don’t know if it is a font issue or a character code issue.
Is there any way to solve this problem?
thanks.
- This topic was modified 1 month, 1 week ago by verdy.
- This topic was modified 1 month, 1 week ago by verdy.
April 4, 2023 at 2:44 pm #104050Forum Admin
anticapitalista
::I don’t think the console supports CJK so it’s probably best to leave those messages in English.
When you boot to desktop, are you able to toggle between Japanese and US keyboard?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 4, 2023 at 6:59 pm #104057MemberXunzi_23
::Seems maybe not totaly impossible for Japanese.
https://github.com/dcwangmit01/linux-cjk-console/blob/master/setup.sh
Might be of assistance.
April 4, 2023 at 7:35 pm #104060Forum Admin
anticapitalista
::Seems maybe not totaly impossible for Japanese.
https://github.com/dcwangmit01/linux-cjk-console/blob/master/setup.sh
Might be of assistance.
Thanks – but
We can get CJK to work in a terminal, but it won’t work in the framebuffer/console without Xorg running and spawning another terminal such as xterm.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 5, 2023 at 9:04 am #104098Memberverdy
::Hello anticapitalista,
so it’s probably best to leave those messages in English.
I tried changing the language to zh_CN, zh_TW, and ko_KR, but this issues does not seem to occur.
In C and K of CJK these messages are not localized and remains in English display.Looking at tsplash.log I see
‘Translate to [XX]’
there is not.
In a Japanese environment,
‘read /live/locale/xlat/en/tsplash.xlat’
is recorded in the line next to.demo@antix1:/live/config/tsplash $ locale LANG=zh_CN.UTF-8 LANGUAGE= LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL= demo@antix1:/live/config/tsplash $ cat tsplash.log [ 0001.78] Started tsplash with 'Z' [ 0001.78] read /live/locale/xlat/en/tsplash.xlat [ 0001.78] antiX 22 (Grup Yorum) [ 0001.79] redraw on /dev/tty10 [ 0001.79] Set font to Uni2-VGA16 [ 0001.79] New screen width 80 --------------------------- [ 0002.08] cmd: progress search for boot device [ 0002.08] read /live/locale/xlat/en/tsplash.xlat --------------------------- [ 0004.67] cmd: progress found boot device [ 0004.67] read /live/locale/xlat/en/tsplash.xlat --------------------------- [ 0005.77] cmd: alert Look for persist device with name /dev/sdb2 [ 0005.77] read /live/locale/xlat/en/tsplash.xlat --------------------------- [ 0037.59] cmd: progress run live scripts [ 0037.59] read /live/locale/xlat/en/tsplash.xlat --------------------------- [ 0077.33] cmd: progress start init [ 0077.33] read /live/locale/xlat/en/tsplash.xlat --------------------------- [ 0093.55] cmd: udev-end [ 0093.55] read /live/locale/xlat/en/tsplash.xlat [ 0093.56] redraw on /dev/tty10 [ 0093.58] Width of screen in pixels 1280 [ 0093.59] Set font to Uni2-TerminusBold24x12 [ 0093.63] New screen width 106 --------------------------- [ 0095.51] cmd: start-x [ 0095.51] read /live/locale/xlat/en/tsplash.xlat [ 0095.52] redraw on /dev/tty7 [ 0095.52] Width of screen in pixels 1280 [ 0095.52] Set font to Uni2-TerminusBold24x12 [ 0095.53] New screen width 106 --------------------------- [ 0097.56] cmd: clear-progress [ 0097.56] read /live/locale/xlat/en/tsplash.xlat [ 0097.56] clear line 17How can i ‘leave those messages in English’ ?
When you boot to desktop, are you able to toggle between Japanese and US keyboard?
Yes,i can it using system keyboard setting(system-keyboard-qt).
Thanks.
April 5, 2023 at 9:07 am #104099Memberverdy
::Hello Xunzi_23,
Both the linked script and the anticapitalista’s comment about it are too difficult for me 🙂
But thank you very much for your reply.April 7, 2023 at 8:54 am #104268Memberverdy
::Hello anticapitalista,
I understand what you mean.
Specify english as the language in the boot menu and save. This avoids the boot message issue.Since the keyboard becomes US keyboard, change it to Japanese keyboard after logging in to antiX.
When I change the user language to Japanese, the menu display becomes strange, but after a few reboots it seems to be normal.
Is it correct to understand that you were suggested this method?
If possible, even if i specify ja as the language in the Boot menu, I would like you to consider the process of not localizing after exiting the Boot menu, like C and K of CJK.
Thank you.
April 7, 2023 at 9:11 am #104270Forum Admin
anticapitalista
::@verdy – I have made the change for future versions.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 7, 2023 at 9:58 am #104274Memberverdy
::I don’t know much about the technical side of things, but I think that localization has a very troublesome part to deal with.
Very,very thanks,anticapitalista.
-
AuthorPosts
- You must be logged in to reply to this topic.

