[Issue 3465] isIdeographic can be wrong in std.xml
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 1 21:58:11 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3465
--- Comment #1 from hed010gy <y0uf00bar at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list