[Issue 3465] isIdeographic can be wrong in std.xml
https://issues.dlang.org/show_bug.cgi?id=3465 Andrei Alexandrescu changed: What|Removed |Added Version|2.035 |D2 --
[Issue 3465] isIdeographic can be wrong in std.xml
http://d.puremagic.com/issues/show_bug.cgi?id=3465 Shin Fujishiro changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #2 from Shin Fujishiro 2010-05-23 21:36:54 PDT --- Fixed in svn r1552. Thanks for your contribution! Excuse me: I removed certain part of your code from the actual commit. The contributed code took care of newer Unicode standards. I like new things, but as far as supporting XML 1.0, we have to stick to Unicode 2.0. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3465] isIdeographic can be wrong in std.xml
http://d.puremagic.com/issues/show_bug.cgi?id=3465 Shin Fujishiro changed: What|Removed |Added Status|NEW |ASSIGNED CC||rsi...@gmail.com AssignedTo|nob...@puremagic.com|rsi...@gmail.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3465] isIdeographic can be wrong in std.xml
http://d.puremagic.com/issues/show_bug.cgi?id=3465 --- Comment #1 from hed010gy 2009-11-01 21:58:11 PST --- // A check on my code indicates afternoon doziness, so here is the better version bool isIdeographic(dchar c) { if (c == 0x3007) return true; if (c <= 0x3029 && c >= 0x3021 ) return true; if (c <= 0x9FA5 && c >= 0x4E00) return true; return false; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---