
1 Dec
2009
1 Dec
'09
12:59 p.m.
Hello, I'm trying out X.A.Search and as I can see it doesn't work with non-latin characters out of the box. For instance cyrillic text gets converted into some hex-looking mess. The following fixes it for me, but I'm not sure if we can add a dependency on utf8-string: + import Codec.Binary.UTF8.String ( utf8Encode ) ... - searchEngine name site = searchEngineF name (\s -> site ++ (escape s)) + searchEngine name site = searchEngineF name (\s -> site ++ (utf8Encode (escape s)))