dons:
> redcom:
> > Hi,
> > 
> > how can I convert a file name with for example umlauts (ü, ä ... ) into  
> > UTF8, or some other format that I can actually use it?
> > 
> > Günther
> > 
> 
> Using the utf8-string package to encode the file name string.
> 
>     e.g.
> 
>         x <- readFile (encode "ኃይሌ ገብረሥላሴ")
> 
>     http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string

In fact, utf8-string readFile already encodes the file name, so

    
http://hackage.haskell.org/packages/archive/utf8-string/0.3.3/doc/html/System-IO-UTF8.html#v%3AreadFile

should be enough.

-- Don
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to