Ticket #3309 (closed bug: fixed)
getArgs should return Unicode on Unix
|Reported by:||YitzGale||Owned by:||batterseapower|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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