title: Encoding in sprintf
body: <p>In the following code:</p>
  
  <pre><code>char test[50];
  sprintf(test, "áéíóú");
  </code></pre>
  
  <p>is there a way to make <em>sprintf</em> interpret input characters as <a href="http://en.wikipedia.org/wiki/Windows-1252" rel="nofollow">Windows-1252</a> instead of Unicode?
  I mean, to make <em>test</em> contain 0xE1E9EDF3FA... instead of 0xC3A1C3A9C3ADC3B3C3BA...</p>