Hi all, I'd like transliterate a UTF-8 text to ASCII.
With iconv(1), I would do iconv -f UTF-8 -t ASCII//TRANSLIT foo I've tried using Duncan's iconv library, but it seems to give me more question marks than iconv(1) would, which seems odd if it's the same library underneath. In other words, transliterating Aonach Mòr is a mountain in the Highlands of Scotland. On va boire un petit café si ça te dit. gives me with iconv(1) Aonach Mor is a mountain in the Highlands of Scotland. On va boire un petit cafe si ca te dit. but with my attempts at using Codec.Text.IConv and examples/hiconv -f utf-8 -t ascii --transliterate, I get Aonach M?r is a mountain in the Highlands of Scotland. On va boire un petit caf? si ?a te dit. Anybody run into this and know what to do? Thanks! PS. I'm on Ubuntu 9.04 if it makes any difference... -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe