I have a String representing a unicode character in Haskell, say "\\x00a0" and I want to convert it into Char ('\x00a0' in this case).
My last failed attempt is to read it as Int, then use Data.Char.chr to convert back to Char. It works for octal literals "\\xxx" but not on Unicode.
Can someone give me pointers on this?