digitalmars.D.learn - valid UTF string
- beep (2/2) Feb 09 2008 I read: std.regexp is designed to work only with valid UTF strings as in...
- Sergey Gromov (5/8) Feb 09 2008 It's possible for an arbitrary char[] to be an invalid UTF string.
I read: std.regexp is designed to work only with valid UTF strings as input. Is it possible for an UTF-string (meaning a string obeying the UTF specs) to be invalid?
Feb 09 2008
beep <beep spam.com> wrote:I read: std.regexp is designed to work only with valid UTF strings as input. Is it possible for an UTF-string (meaning a string obeying the UTF specs) to be invalid?It's possible for an arbitrary char[] to be an invalid UTF string. That's what it means. -- SnakE
Feb 09 2008