title: How to output UTF-8 in Erlang shell?
body: <p>Consider this snippet:</p>
  
  <pre><code>Eshell V5.9.1  (abort with ^G)
  1&gt; A="Pamet".
  "Pamet"
  2&gt; A1="Paměť".
  [80,97,109,283,357]
  </code></pre>
  
  <p>("Paměť" is the Czech word for "memory". I chose it because it contains two characters that Erlang thinks are "unprintable".) IIRC Erlang, having originated in Sweden, assumes that if a character doesn't exist in Latin 1, it is unprintable. Hence, even though I'm running the shell on a modern Linux box where everything is UTF-8, it outputs a list of integers instead of "Paměť".</p>
  
  <p>My question: how to write a UTF-8 string to the screen so it appears as a string of characters, and not a list of integers?</p>