TDPL: Foreach over Unicode string

Kagamin spam at here.lot
Wed Jul 28 11:06:51 PDT 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.


More information about the Digitalmars-d mailing list