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










share|improve this question




























    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










    share|improve this question


























      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










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 26 '12 at 22:32

























      asked Sep 26 '12 at 22:25









      Roger Cruz

      1613




      1613






















          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.






          share|improve this answer























          • 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











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          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

























          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.






          share|improve this answer























          • 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















          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.






          share|improve this answer























          • 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













          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.






          share|improve this answer














          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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


















          • 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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕