Why won't some unicode characters print to my terminal?

Is it okay for a chapter's POV to shift as it progresses?

Finding all possible pairs of square numbers in an array

Can a Resident Assistant be told to ignore a lawful order?'

Is it rude to refer to janitors as 'floor people'?

what relax command means?

Credit card details stolen every 1-2 years. What am I doing wrong?

Why did Steve Rogers choose this character in Endgame?

What happens if a company buys back all of its shares?

CRS interpretation in QGIS?

Vienna To Graz By Rail

FPGA CPUs, how to find the max speed?

What "fuel more powerful than anything the West (had) in stock" put Laika in orbit aboard Sputnik 2?

How can I help our ranger feel special about her beast companion?

Why doesn't philosophy have higher standards for its arguments?

What is the point of a constraint expression on a non-templated function?

How many bits in the resultant hash will change, if the x bits are changed in its the original input?

What are "full piece" and "half piece" in chess?

Where do the electrons come from to make the carbon stable during bombardment of alpha particles on beryllium

Is straight-up writing someone's opinions telling?

Will this tire fail its MOT?

Create Array from list of indices/values

Is passive Investigation essentially truesight against illusions?

What is this green alien supposed to be on the American covers of the "Hitchhiker's Guide to the Galaxy"?

Did 007 exist before James Bond?



Why won't some unicode characters print to my terminal?







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







0















I'm running arch linux with simple terminal using the adobe source code pro font. My locale is correctly set to $LANG=en_US.UTF-8.



I want to print unicode characters representing playing cards to my terminal. I'm using this reference:



https://en.wikipedia.org/wiki/Playing_cards_in_Unicode



The unicode characters for card suits work fine. For example, issuing



$ printf "u2660"


prints a black heart to the screen.



However, I'm having trouble with specific playing cards. Issuing



$ printf "u1F0A1"


prints the symbol Ἂ1 instead of the ace of spades 🂡. What's going wrong?



This problem persists across several terminals (urxvt, xterm, termite) and every font I've tried (dejavu, inconsolata).









share





























    0















    I'm running arch linux with simple terminal using the adobe source code pro font. My locale is correctly set to $LANG=en_US.UTF-8.



    I want to print unicode characters representing playing cards to my terminal. I'm using this reference:



    https://en.wikipedia.org/wiki/Playing_cards_in_Unicode



    The unicode characters for card suits work fine. For example, issuing



    $ printf "u2660"


    prints a black heart to the screen.



    However, I'm having trouble with specific playing cards. Issuing



    $ printf "u1F0A1"


    prints the symbol Ἂ1 instead of the ace of spades 🂡. What's going wrong?



    This problem persists across several terminals (urxvt, xterm, termite) and every font I've tried (dejavu, inconsolata).









    share

























      0












      0








      0








      I'm running arch linux with simple terminal using the adobe source code pro font. My locale is correctly set to $LANG=en_US.UTF-8.



      I want to print unicode characters representing playing cards to my terminal. I'm using this reference:



      https://en.wikipedia.org/wiki/Playing_cards_in_Unicode



      The unicode characters for card suits work fine. For example, issuing



      $ printf "u2660"


      prints a black heart to the screen.



      However, I'm having trouble with specific playing cards. Issuing



      $ printf "u1F0A1"


      prints the symbol Ἂ1 instead of the ace of spades 🂡. What's going wrong?



      This problem persists across several terminals (urxvt, xterm, termite) and every font I've tried (dejavu, inconsolata).









      share














      I'm running arch linux with simple terminal using the adobe source code pro font. My locale is correctly set to $LANG=en_US.UTF-8.



      I want to print unicode characters representing playing cards to my terminal. I'm using this reference:



      https://en.wikipedia.org/wiki/Playing_cards_in_Unicode



      The unicode characters for card suits work fine. For example, issuing



      $ printf "u2660"


      prints a black heart to the screen.



      However, I'm having trouble with specific playing cards. Issuing



      $ printf "u1F0A1"


      prints the symbol Ἂ1 instead of the ace of spades 🂡. What's going wrong?



      This problem persists across several terminals (urxvt, xterm, termite) and every font I've tried (dejavu, inconsolata).







      fonts unicode





      share












      share










      share



      share










      asked 2 mins ago









      Brian FitzpatrickBrian Fitzpatrick

      9752 gold badges11 silver badges23 bronze badges




      9752 gold badges11 silver badges23 bronze badges






















          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f530788%2fwhy-wont-some-unicode-characters-print-to-my-terminal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f530788%2fwhy-wont-some-unicode-characters-print-to-my-terminal%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...