title: Using sprintf with unicode characters
body: <p>I wanted to print out depictions of playing cards using Unicode.</p>
  
  <p>Code snippet:</p>
  
  <pre><code>void printCard(int card){
      char strCard[10];
      sprintf(strCard, "\U0001F0A%x", (card%13)+1);
      printf("%s\n", cardStr);
  }
  </code></pre>
  
  <p>Since the \U requires 8 hex characters after it I get the following from compiling:</p>
  
  <p><code>error: incomplete universal character name \U0001F0A</code></p>
  
  <p>I could create a bunch of if/else statements and print out the card that way but I was hoping for a way that wouldn't make me explicitly write out every card's Unicode encoding.</p>