On Sat, 25 Jun 2011 23:17:37 +0300, Nick Sabalausky <[email protected]> wrote:
"Vladimir Panteleev" <[email protected]> wrote in message news:[email protected]...string s; foreach (dchar c; r)That doesn't throw on an invalid sequence?
You use rawToUTF8 to convert an arbitrary array of chars to valid UTF-8. You use UTF8ToRaw to convert the output of rawToUTF8 back to the original string.
-- Best regards, Vladimir mailto:[email protected]
