"Vladimir Panteleev" <vladimir at thecybershadow.net> wrote in message news:op.vxmuvzqbtuzx1w at cybershadow.mshome.net... > > string s; > foreach (dchar c; r) That doesn't throw on an invalid sequence?