rxvt-unicode doesn't display unicode characters





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I do not understand why rxvt-unicode doesn't display some Unicode characters correctly such as or while is displayed correctly. These symbols are replaced by a little box as you can see in the screenshot:screenshot



Here's my locale:



LANG=en_US.UTF-8  
LANGUAGE=en_US:en
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=


And here my .Xresources:



URxvt.font: xft:Ubuntu Mono:size=11:antialias=true:hinting=true  
URxvt.letterSpace: -2
URxvt.lineSpace: -2
URxvt.scrollKey: true
URxvt.depth: 32
URxvt.loginShell: true
URxvt.geometry: 100x30
URxvt.saveLines: 10000
URxvt.cutchars: "`"'&()*,:;<=>?[\]^{|}$"
URxvt.scrollBar: false
URxvt.visualBell: true ```


These symbols are displayed correctly in gnome-terminal.
Suggestions from google are not ubuntu-related and they all suggest to add .utf-8 to locale, which I already have in my settings. If you can help me in any way it would be awesome, this problem is really bugging me!










share|improve this question































    2















    I do not understand why rxvt-unicode doesn't display some Unicode characters correctly such as or while is displayed correctly. These symbols are replaced by a little box as you can see in the screenshot:screenshot



    Here's my locale:



    LANG=en_US.UTF-8  
    LANGUAGE=en_US:en
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY=en_US.UTF-8
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER=en_US.UTF-8
    LC_NAME=en_US.UTF-8
    LC_ADDRESS=en_US.UTF-8
    LC_TELEPHONE=en_US.UTF-8
    LC_MEASUREMENT=en_US.UTF-8
    LC_IDENTIFICATION=en_US.UTF-8
    LC_ALL=


    And here my .Xresources:



    URxvt.font: xft:Ubuntu Mono:size=11:antialias=true:hinting=true  
    URxvt.letterSpace: -2
    URxvt.lineSpace: -2
    URxvt.scrollKey: true
    URxvt.depth: 32
    URxvt.loginShell: true
    URxvt.geometry: 100x30
    URxvt.saveLines: 10000
    URxvt.cutchars: "`"'&()*,:;<=>?[\]^{|}$"
    URxvt.scrollBar: false
    URxvt.visualBell: true ```


    These symbols are displayed correctly in gnome-terminal.
    Suggestions from google are not ubuntu-related and they all suggest to add .utf-8 to locale, which I already have in my settings. If you can help me in any way it would be awesome, this problem is really bugging me!










    share|improve this question



























      2












      2








      2








      I do not understand why rxvt-unicode doesn't display some Unicode characters correctly such as or while is displayed correctly. These symbols are replaced by a little box as you can see in the screenshot:screenshot



      Here's my locale:



      LANG=en_US.UTF-8  
      LANGUAGE=en_US:en
      LC_CTYPE=en_US.UTF-8
      LC_NUMERIC=en_US.UTF-8
      LC_TIME=en_US.UTF-8
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY=en_US.UTF-8
      LC_MESSAGES="en_US.UTF-8"
      LC_PAPER=en_US.UTF-8
      LC_NAME=en_US.UTF-8
      LC_ADDRESS=en_US.UTF-8
      LC_TELEPHONE=en_US.UTF-8
      LC_MEASUREMENT=en_US.UTF-8
      LC_IDENTIFICATION=en_US.UTF-8
      LC_ALL=


      And here my .Xresources:



      URxvt.font: xft:Ubuntu Mono:size=11:antialias=true:hinting=true  
      URxvt.letterSpace: -2
      URxvt.lineSpace: -2
      URxvt.scrollKey: true
      URxvt.depth: 32
      URxvt.loginShell: true
      URxvt.geometry: 100x30
      URxvt.saveLines: 10000
      URxvt.cutchars: "`"'&()*,:;<=>?[\]^{|}$"
      URxvt.scrollBar: false
      URxvt.visualBell: true ```


      These symbols are displayed correctly in gnome-terminal.
      Suggestions from google are not ubuntu-related and they all suggest to add .utf-8 to locale, which I already have in my settings. If you can help me in any way it would be awesome, this problem is really bugging me!










      share|improve this question
















      I do not understand why rxvt-unicode doesn't display some Unicode characters correctly such as or while is displayed correctly. These symbols are replaced by a little box as you can see in the screenshot:screenshot



      Here's my locale:



      LANG=en_US.UTF-8  
      LANGUAGE=en_US:en
      LC_CTYPE=en_US.UTF-8
      LC_NUMERIC=en_US.UTF-8
      LC_TIME=en_US.UTF-8
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY=en_US.UTF-8
      LC_MESSAGES="en_US.UTF-8"
      LC_PAPER=en_US.UTF-8
      LC_NAME=en_US.UTF-8
      LC_ADDRESS=en_US.UTF-8
      LC_TELEPHONE=en_US.UTF-8
      LC_MEASUREMENT=en_US.UTF-8
      LC_IDENTIFICATION=en_US.UTF-8
      LC_ALL=


      And here my .Xresources:



      URxvt.font: xft:Ubuntu Mono:size=11:antialias=true:hinting=true  
      URxvt.letterSpace: -2
      URxvt.lineSpace: -2
      URxvt.scrollKey: true
      URxvt.depth: 32
      URxvt.loginShell: true
      URxvt.geometry: 100x30
      URxvt.saveLines: 10000
      URxvt.cutchars: "`"'&()*,:;<=>?[\]^{|}$"
      URxvt.scrollBar: false
      URxvt.visualBell: true ```


      These symbols are displayed correctly in gnome-terminal.
      Suggestions from google are not ubuntu-related and they all suggest to add .utf-8 to locale, which I already have in my settings. If you can help me in any way it would be awesome, this problem is really bugging me!







      unicode rxvt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 7 at 13:45









      finefoot

      1921112




      1921112










      asked Jul 2 '13 at 20:37









      random.cpprandom.cpp

      1313




      1313






















          1 Answer
          1






          active

          oldest

          votes


















          4














          The screenshot is virtually unreadable due to lack of color contrast, but it seems that the reason for the problem is simply that the font being used does not contain glyphs for the characters ☁ or ☂. A little box is typically the way programs indicate the presence of a character that has been recognized but cannot be displayed due to lack of a glyph.



          This explanation sounds problematic, because xrvt FAQ says: “When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to the next font, and so on.” So it should find a glyph if any available font contains it. But presumably this process goes wrong, e.g. because character repertoire information in some font is faulty (a font may say it supports a character but lacks a glyph for it). Testing with different base font settings may help to identify the problem.






          share|improve this answer
























          • You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

            – random.cpp
            Jul 3 '13 at 7:28








          • 1





            Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

            – random.cpp
            Jul 3 '13 at 7:54














          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',
          autoActivateHeartbeat: false,
          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%2f315608%2frxvt-unicode-doesnt-display-unicode-characters%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









          4














          The screenshot is virtually unreadable due to lack of color contrast, but it seems that the reason for the problem is simply that the font being used does not contain glyphs for the characters ☁ or ☂. A little box is typically the way programs indicate the presence of a character that has been recognized but cannot be displayed due to lack of a glyph.



          This explanation sounds problematic, because xrvt FAQ says: “When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to the next font, and so on.” So it should find a glyph if any available font contains it. But presumably this process goes wrong, e.g. because character repertoire information in some font is faulty (a font may say it supports a character but lacks a glyph for it). Testing with different base font settings may help to identify the problem.






          share|improve this answer
























          • You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

            – random.cpp
            Jul 3 '13 at 7:28








          • 1





            Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

            – random.cpp
            Jul 3 '13 at 7:54


















          4














          The screenshot is virtually unreadable due to lack of color contrast, but it seems that the reason for the problem is simply that the font being used does not contain glyphs for the characters ☁ or ☂. A little box is typically the way programs indicate the presence of a character that has been recognized but cannot be displayed due to lack of a glyph.



          This explanation sounds problematic, because xrvt FAQ says: “When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to the next font, and so on.” So it should find a glyph if any available font contains it. But presumably this process goes wrong, e.g. because character repertoire information in some font is faulty (a font may say it supports a character but lacks a glyph for it). Testing with different base font settings may help to identify the problem.






          share|improve this answer
























          • You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

            – random.cpp
            Jul 3 '13 at 7:28








          • 1





            Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

            – random.cpp
            Jul 3 '13 at 7:54
















          4












          4








          4







          The screenshot is virtually unreadable due to lack of color contrast, but it seems that the reason for the problem is simply that the font being used does not contain glyphs for the characters ☁ or ☂. A little box is typically the way programs indicate the presence of a character that has been recognized but cannot be displayed due to lack of a glyph.



          This explanation sounds problematic, because xrvt FAQ says: “When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to the next font, and so on.” So it should find a glyph if any available font contains it. But presumably this process goes wrong, e.g. because character repertoire information in some font is faulty (a font may say it supports a character but lacks a glyph for it). Testing with different base font settings may help to identify the problem.






          share|improve this answer













          The screenshot is virtually unreadable due to lack of color contrast, but it seems that the reason for the problem is simply that the font being used does not contain glyphs for the characters ☁ or ☂. A little box is typically the way programs indicate the presence of a character that has been recognized but cannot be displayed due to lack of a glyph.



          This explanation sounds problematic, because xrvt FAQ says: “When rxvt-unicode sees a character, it will first look at the base font. If the base font does not contain the character, it will go to the next font, and so on.” So it should find a glyph if any available font contains it. But presumably this process goes wrong, e.g. because character repertoire information in some font is faulty (a font may say it supports a character but lacks a glyph for it). Testing with different base font settings may help to identify the problem.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 3 '13 at 6:35









          Jukka K. KorpelaJukka K. Korpela

          48437




          48437













          • You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

            – random.cpp
            Jul 3 '13 at 7:28








          • 1





            Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

            – random.cpp
            Jul 3 '13 at 7:54





















          • You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

            – random.cpp
            Jul 3 '13 at 7:28








          • 1





            Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

            – random.cpp
            Jul 3 '13 at 7:54



















          You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

          – random.cpp
          Jul 3 '13 at 7:28







          You're right, I've tested with Monospace and those glyphs are displayed. I didn't tested other fonts before, because Ubuntu Mono works perfectly in GVIM and gnome-terminal. Is there any possibility to set a fallback font for those glyphs?

          – random.cpp
          Jul 3 '13 at 7:28






          1




          1





          Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

          – random.cpp
          Jul 3 '13 at 7:54







          Ok I found this workaround that does the trick: URxvt.font: xft:Ubuntu Mono:size=11,xft:Monospace:size=9:antialias=true:hinting=true I set Ubuntu Mono as first font and Monospace as fallback, I had to set different sizes though.. Thanks for your help

          – random.cpp
          Jul 3 '13 at 7:54




















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f315608%2frxvt-unicode-doesnt-display-unicode-characters%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

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b