Quick question: I&#39;ve tested this in a couple of different terminals (roxterm and xterm), so I&#39;m fairly sure it&#39;s GHC that&#39;s the problem. Have I missed a setting?<div><br></div><div>GHCi, version 6.10.4</div>
<div><div>Prelude&gt; putStrLn &quot;£&quot;</div><div>�</div><div><br></div><div>Hugs98 200609-3</div><div><div>Hugs&gt; putStrLn &quot;£&quot;</div><div>£</div><div><br></div></div><div><br></div><div>I get the same character output from a password generator I&#39;ve writtern, after compilation with GHC</div>
<div><br></div><div><div>[iainb]$ ./makepass2 50 2 &gt;&gt; testfile.txt </div><div>[iainb]$ cat testfile.txt </div><div>H(xW!:maNyxZ;h,IW=Uu4G$ztc&gt;k@Q[g6?y:�TbG&amp;5Nd&quot;)+&quot;5+</div><div><br></div><div><br></div>
<div>Iain</div></div></div>