[Haskell-cafe] Umlauts in command line arguments

Eric Mertens emertens at gmail.com
Thu Jun 4 16:17:42 EDT 2009


On Sun, May 31, 2009 at 5:24 PM, GüŸnther Schmidt <gue.schmidt at web.de> wrote:
> When a command line argument contains an umlaut that argument gets garbled.
> I'm using ghc 6.10.2 on Win XP. Are there any known solutions for this
> problem?

Your question has inspired me to add a System.Environment.UTF8 module
to utf8-string 0.3.5

This module behaves like the System.IO.UTF8 wrapper.

Eric Mertens

More information about the Haskell-Cafe mailing list