#3309: getArgs should return Unicode on Unix
-----------------------------+----------------------------------------------
Reporter: YitzGale | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 6.11 | Severity: normal
Keywords: unicode | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The raw bytes of args should be decoded according to the current locale.
An additional function should be added:
{{{
getArgsBytes :: IO [Word8]
}}}
to provide access to the raw bytes.
This change needs to be coordinated with #3007 so that it will still
work to read a file name from the command line args and use it
to access a file.
This change should also be made on Windows: #3008
See the discussion at http://www.haskell.org/pipermail/haskell-
cafe/2009-June/062795.html
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3309>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs