[Haskell-cafe] Perform a research a la Unix 'find'
magnus at therning.org
Sun Aug 22 13:17:50 EDT 2010
On 22/08/10 17:56, Yves Parès wrote:
> I looked at both, and I have encoding issues with both.
> My locale is fr_FR.utf8
> For instance, with HSH:
> I have a 'bar' directory, containing a file 'fooé'
> run $ "find bar" :: IO [String]
> returns me : ["bar", "bar/foo*\233*"]
> and run $ "find bar -name fooé"
> returns 
> When I provoke an error by running:
> run $ "find fooé"
> it says :
> find: "foo*\351*": No file or directory
> So it is not the same encoding!
Yes, that's no good. I should put in a caveat, I have only used HSH in
"privileged" locales. I urge you to raise it with the maintainer of HSH
it's a serious shortcoming.
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus＠therning．org Jabber: magnus＠therning．org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100822/75eb391f/signature.bin
More information about the Haskell-Cafe