07-Feb-2014 20:29, Andrej Mitrovic пишет:
On Friday, 7 February 2014 at 16:27:35 UTC, Andrei Alexandrescu wrote:
Add a bugzilla and let's define isValid that returns bool!

Add std.utf.decode() to that as well. IOW, it should have an overload
which returns a status code

Much simpler - it returns a special dchar to designate bad encoding. And there is one defined by Unicode spec.


--
Dmitry Olshansky

Reply via email to