title: javascript convert number to utf-8
body: <p>In C, I'd be able to do something like this:</p>
  
  <pre><code>short number = 20693; // Create the number
  unsigned char* str = malloc(3); // Create the string
  memcpy(str, &amp;number, 2); // Copy the number to the string
  str[2] = 0; // 0-pad it
  </code></pre>
  
  <p>And then <code>str</code> would contain the utf-8 representation of <code>number</code>. Is it possible to do this in javascript (without the 0-padding)?</p>