Fix #782, #1483, #1649: Unicode GHCi input
authorSimon Marlow <simonmar@microsoft.com>
Wed, 14 Nov 2007 15:14:11 +0000 (15:14 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 14 Nov 2007 15:14:11 +0000 (15:14 +0000)
commitb4470389096913ed1430b077d29a2d1901f3c694
tree928cb74613c60bf75703e18894e908879c563f9d
parent75acd15db5dec691063c35cd23b4d0f73d2e1293
Fix #782, #1483, #1649: Unicode GHCi input
GHCi input is now treated universally as UTF-8, except for the Windows
console where we do the correct conversion from the current code
page (see System.Win32.stringToUnicode).

That leaves non-UTF-8 locales on Unix as unsupported, but (a) we only
accept source files in UTF-8 anyway, and (b) UTF-8 is quite ubiquitous
as the default locale.
compiler/ghci/InteractiveUI.hs