-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some characters can not show in Petitboot Language Selection page #9
Comments
This is most likely a case of your build missing the necessary locales. If you're using op-build, have you added the correct locales under the toolchain options? |
The VGA console issue would be related to the kernel tty driver, rather than petitboot here. We'll need to make sure that it has appropriate support for unicode characters. I'm not sure what the Linux vt support for that is like, and/or whether we have the appropriate glyphs for non-ASCII characters. [Also, for the serial session: you'll get better output if you enable utf-8 line-drawing characters in your PuTTY config] |
... and, after a little reading, I don't think we have any facility for using a full unicode font in the local (VGA) tty. |
Hi Jeremy, Thanks for your reply, do you have a plan to fix it? |
If we don't have any facility for using a full unicode font in the local (VGA) tty. Could we disable the multiple language function in VGA console? In other word, petitboot only supports multiple language in serial console. |
I don't see a reason to disable multiple languages completely, as from the screenshot above it appears several other languages are still able to display. |
Hi Sam, |
Adding some extra information to this issue: the main problem is that when using the VGA interface the Petitboot environment is responsible for rendering unicode fonts, as opposed to IPMI/serial where the user's machine does the work. |
Hi sammj: |
Looking for some information around "showing chinese / japanese characters in Linux console" I found a concerning documentation from Linux-from-scratch that says Linux does not support this - http://www.linuxfromscratch.org/lfs/view/stable/chapter09/usage.html I wonder if enabling fb console and using an appropriate font can solve this or not |
Actually Linux console DOES support displaying Chinese or Japanese characters. The only limitation is that each font can only contain up to 512 different glyphs, and only one font can be used in the same screen. If you use a script to extract all the characters used in the Chinese translation, and (if the total count of distinct characters + 96 visible ASCII character <= 512) generate a small subset font for it, it would work. You can make 5 fonts: one for each of zh_CN, zh_TW, ja and ko, and one for everything else (plus the language names). Each one should contain <=512 characters. |
Please refer to the attached picture
![pic1](https://cloud.githubusercontent.com/assets/10702657/11676431/130ca7a0-9e6d-11e5-86f4-010f5be125d0.JPG)
The text was updated successfully, but these errors were encountered: