digitalmars.D - Re: TDPL: Foreach over Unicode string
- Kagamin <spam here.lot> Jul 28 2010
Sean kelly Wrote:Figuring out what's going on there will take some more work, and the ultimate fix may end up being in the DMC libraries... I really don't know.
This can't be C bug because character encoding is not specified for C strings. If I remember it right, C uses system encoding, and string IO just blindly passes strings in and out. It's phobos' duty to convert D string to whatever encoding used by C library.
Jul 28 2010