mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
use the native unicode support from GHC 6.12
This commit is contained in:
@@ -24,6 +24,10 @@ main = do
|
||||
codepage <- getACP
|
||||
setConsoleCP codepage
|
||||
setConsoleOutputCP codepage
|
||||
enc <- mkTextEncoding ("CP"++show codepage)
|
||||
hSetEncoding stdin enc
|
||||
hSetEncoding stdout enc
|
||||
hSetEncoding stderr enc
|
||||
#endif
|
||||
args <- getArgs
|
||||
case parseOptions args of
|
||||
|
||||
Reference in New Issue
Block a user