I suggest looking into ICU if you're doing this stuff. I believe there's even a wrapper somewhere in the Mango tree on DSource.
On May 29, 2011, at 7:21 PM, Adam D. Ruppe wrote: > I've encountered some problems with other charsets recently. Phobos has > a std.encoding that can do some useful stuff, but there's some > encodings I've seen in the wild that it can't handle (indeed, it's > a fairly short list that it does support) > > I used gnu iconv for one of my projects and it works for me, but > I wonder: > > Is anyone planning to add more charset support to Phobos? > (alternatively, am I missing something already there?) > > > If no, maybe I'll do a few myself. I've never actually written code > to do this, but it can't be rocket science. I suspect it's more > tedious than anything else.