How do I display Chinese/Japanese characters in a Linux VT console?
up vote
3
down vote
favorite
I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or Japanese and my installer sets the LANG=zh_CN.utf8 and LANG=ja_JP.utf8, the output characters turn all to diamonds.
I figured that I needed to run setfont to one of the fonts in /usr/share/consolefonts but examining the fonts there, I do not find one that looks chinese or japanese. A few google searches have let me to pages which indicate the Linux's console does not support these languages and that I would need another console program to gain that capability.
1) Is it true that the default Linux console does not provide support for japanese or chinese?
2) If it does have support, what do I need to do in order to enable it? If fonts are required, what would their names be or where can they be obtained as an ubuntu package?
3) If it does not have support, does another console (zhcon or chdrv) provide such support? Will they work in VT mode (I have up to 8 virtual terminals running)? What is the process for installing and using such a console?
4) Can a replacement console be used for all my other languages? That is, do console replacements like chrdrv support the ability to display the characters for all the other languages?
Thanks in advance.
Roger R. Cruz
console virtual-console chinese virtual-terminal
add a comment |
up vote
3
down vote
favorite
I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or Japanese and my installer sets the LANG=zh_CN.utf8 and LANG=ja_JP.utf8, the output characters turn all to diamonds.
I figured that I needed to run setfont to one of the fonts in /usr/share/consolefonts but examining the fonts there, I do not find one that looks chinese or japanese. A few google searches have let me to pages which indicate the Linux's console does not support these languages and that I would need another console program to gain that capability.
1) Is it true that the default Linux console does not provide support for japanese or chinese?
2) If it does have support, what do I need to do in order to enable it? If fonts are required, what would their names be or where can they be obtained as an ubuntu package?
3) If it does not have support, does another console (zhcon or chdrv) provide such support? Will they work in VT mode (I have up to 8 virtual terminals running)? What is the process for installing and using such a console?
4) Can a replacement console be used for all my other languages? That is, do console replacements like chrdrv support the ability to display the characters for all the other languages?
Thanks in advance.
Roger R. Cruz
console virtual-console chinese virtual-terminal
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or Japanese and my installer sets the LANG=zh_CN.utf8 and LANG=ja_JP.utf8, the output characters turn all to diamonds.
I figured that I needed to run setfont to one of the fonts in /usr/share/consolefonts but examining the fonts there, I do not find one that looks chinese or japanese. A few google searches have let me to pages which indicate the Linux's console does not support these languages and that I would need another console program to gain that capability.
1) Is it true that the default Linux console does not provide support for japanese or chinese?
2) If it does have support, what do I need to do in order to enable it? If fonts are required, what would their names be or where can they be obtained as an ubuntu package?
3) If it does not have support, does another console (zhcon or chdrv) provide such support? Will they work in VT mode (I have up to 8 virtual terminals running)? What is the process for installing and using such a console?
4) Can a replacement console be used for all my other languages? That is, do console replacements like chrdrv support the ability to display the characters for all the other languages?
Thanks in advance.
Roger R. Cruz
console virtual-console chinese virtual-terminal
I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or Japanese and my installer sets the LANG=zh_CN.utf8 and LANG=ja_JP.utf8, the output characters turn all to diamonds.
I figured that I needed to run setfont to one of the fonts in /usr/share/consolefonts but examining the fonts there, I do not find one that looks chinese or japanese. A few google searches have let me to pages which indicate the Linux's console does not support these languages and that I would need another console program to gain that capability.
1) Is it true that the default Linux console does not provide support for japanese or chinese?
2) If it does have support, what do I need to do in order to enable it? If fonts are required, what would their names be or where can they be obtained as an ubuntu package?
3) If it does not have support, does another console (zhcon or chdrv) provide such support? Will they work in VT mode (I have up to 8 virtual terminals running)? What is the process for installing and using such a console?
4) Can a replacement console be used for all my other languages? That is, do console replacements like chrdrv support the ability to display the characters for all the other languages?
Thanks in advance.
Roger R. Cruz
console virtual-console chinese virtual-terminal
console virtual-console chinese virtual-terminal
edited Sep 26 '12 at 22:32
asked Sep 26 '12 at 22:25
Roger Cruz
1613
1613
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I don't think it's possible. There is only room for a few hundred chars in the standard vga/console. Perhaps one of the Japanese alphabets would technically be possible, but not Chinese. A few more details are here: https://askubuntu.com/a/98750/116108
What I would suggest is to try fbterm:
sudo apt-get install fbterm
It can display a much wider range of UTF-8, so there is a decent chance it will support Chinese if the default font does. Perhaps that can be changed too.
Another choice of last resort might be Pinyin, though I have no idea if significant number of Chinese understand it.
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I don't think it's possible. There is only room for a few hundred chars in the standard vga/console. Perhaps one of the Japanese alphabets would technically be possible, but not Chinese. A few more details are here: https://askubuntu.com/a/98750/116108
What I would suggest is to try fbterm:
sudo apt-get install fbterm
It can display a much wider range of UTF-8, so there is a decent chance it will support Chinese if the default font does. Perhaps that can be changed too.
Another choice of last resort might be Pinyin, though I have no idea if significant number of Chinese understand it.
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
add a comment |
up vote
0
down vote
I don't think it's possible. There is only room for a few hundred chars in the standard vga/console. Perhaps one of the Japanese alphabets would technically be possible, but not Chinese. A few more details are here: https://askubuntu.com/a/98750/116108
What I would suggest is to try fbterm:
sudo apt-get install fbterm
It can display a much wider range of UTF-8, so there is a decent chance it will support Chinese if the default font does. Perhaps that can be changed too.
Another choice of last resort might be Pinyin, though I have no idea if significant number of Chinese understand it.
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
add a comment |
up vote
0
down vote
up vote
0
down vote
I don't think it's possible. There is only room for a few hundred chars in the standard vga/console. Perhaps one of the Japanese alphabets would technically be possible, but not Chinese. A few more details are here: https://askubuntu.com/a/98750/116108
What I would suggest is to try fbterm:
sudo apt-get install fbterm
It can display a much wider range of UTF-8, so there is a decent chance it will support Chinese if the default font does. Perhaps that can be changed too.
Another choice of last resort might be Pinyin, though I have no idea if significant number of Chinese understand it.
I don't think it's possible. There is only room for a few hundred chars in the standard vga/console. Perhaps one of the Japanese alphabets would technically be possible, but not Chinese. A few more details are here: https://askubuntu.com/a/98750/116108
What I would suggest is to try fbterm:
sudo apt-get install fbterm
It can display a much wider range of UTF-8, so there is a decent chance it will support Chinese if the default font does. Perhaps that can be changed too.
Another choice of last resort might be Pinyin, though I have no idea if significant number of Chinese understand it.
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Feb 21 '13 at 5:01
Gringo Suave
248111
248111
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
add a comment |
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
Pinyin is just romanized chinese - it is like hearing the sound rose and not knowing whether the speaker said rose, rows, roes, or rhos and without the context or spelling, you've got no idea whether they are talking about flowers, oarsmanship, fish eggs or greek letters or which one of the 15 different meanings that this sound has in English.
– cup
Mar 5 '17 at 11:32
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f193391%2fhow-do-i-display-chinese-japanese-characters-in-a-linux-vt-console%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown