Only UTF-8 symbols are tested.
return F_true;
}
- // Halfwidth and Fullwidth Forms: U+FFE9 to U+FFEC.
- if (character >= 0xefbfa900 && character <= 0xefbfac00) {
+ // Halfwidth and Fullwidth Forms: U+FFE8 to U+FFEE.
+ if (character >= 0xefbfa800 && character <= 0xefbfae00) {
+ return F_true;
+ }
+
+ // Specials: U+FFFC to U+FFFD.
+ if (character == 0xefbfbc00 || character == 0xefbfbd00) {
return F_true;
}
}
}
// ASCII: U+003C ('<') to U+003E ('>').
- if (character[0] > 0x3c && character[0] < 0x3e) {
+ if (character[0] >= 0x3c && character[0] <= 0x3e) {
return F_true;
}
}
// ASCII: U+003C ('<') to U+003E ('>').
- if (character > 0x3c000000 && character < 0x3e000000) {
+ if (character >= 0x3c000000 && character <= 0x3e000000) {
return F_true;
}