Hi there!<br><br>I'm trying to user Haskell as a code-generating language, specifically generating C# code files. The wish list is<br><br>1) reading UTF-8 coded text files into unicode-enabled Strings, lets call them UString
<br>2) writing UStrings to UTF-8 coded text files<br>3) using unicode strings in-code, that is in my .hs files<br><br>I can live without 3), and with a little good will also 2), but 1) is harder since I cannot really hope my input files (meta-data-files) are coded in anything else than UTF-8.
<br><br>I've searched&amp;browser the web for information on the current state of unicode in GHC/Hugs but the latest discussion I could find on the topic leaves me less than happy. BUT it is from january 2005 so I thought maybe you guys have more up-to-date answers to these questions.
<br><br>The discussion I found:<br><br><a href="http://groups.google.se/group/fa.haskell/browse_thread/thread/ccf1c6f32dbea873/a5ede2bc64ae8be4?lnk=st&amp;q=&amp;rnum=1#a5ede2bc64ae8be4">http://groups.google.se/group/fa.haskell/browse_thread/thread/ccf1c6f32dbea873/a5ede2bc64ae8be4?lnk=st&amp;q=&amp;rnum=1#a5ede2bc64ae8be4
</a><br><br>Thanks!<br><br>/Olof<br><br>