<html><body><div><br></div><div><br>On Oct 01, 2013, at 08:13 PM, Jonathan M Davis <jmdavisProg@gmx.com> wrote:<br><br class="_stretch"><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"> foreach(c; s)<br> <br> iterates over the code unit type of the string, which is only dchar if it's an <br> array of dchar. You only get decoding and conversion to other character types <br> if you explicitly give a different character type.</div></div></blockquote><span></span><br>I thought this was changed when it was decided that Phobos should treat strings as ranges of dchars.<br><br>--<br>/Jacob Carlborg<br></div></div></body></html>