📄 xmlunicode.c
字号:
}
/**
* xmlUCSIsArabicPresentationFormsB:
* @code: UCS code point
*
* Check whether the character is part of ArabicPresentationForms-B UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsArabicPresentationFormsB(int code) {
return(((code >= 0xFE70) && (code <= 0xFEFF)));
}
/**
* xmlUCSIsArmenian:
* @code: UCS code point
*
* Check whether the character is part of Armenian UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsArmenian(int code) {
return(((code >= 0x0530) && (code <= 0x058F)));
}
/**
* xmlUCSIsArrows:
* @code: UCS code point
*
* Check whether the character is part of Arrows UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsArrows(int code) {
return(((code >= 0x2190) && (code <= 0x21FF)));
}
/**
* xmlUCSIsBasicLatin:
* @code: UCS code point
*
* Check whether the character is part of BasicLatin UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBasicLatin(int code) {
return(((code >= 0x0000) && (code <= 0x007F)));
}
/**
* xmlUCSIsBengali:
* @code: UCS code point
*
* Check whether the character is part of Bengali UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBengali(int code) {
return(((code >= 0x0980) && (code <= 0x09FF)));
}
/**
* xmlUCSIsBlockElements:
* @code: UCS code point
*
* Check whether the character is part of BlockElements UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBlockElements(int code) {
return(((code >= 0x2580) && (code <= 0x259F)));
}
/**
* xmlUCSIsBopomofo:
* @code: UCS code point
*
* Check whether the character is part of Bopomofo UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBopomofo(int code) {
return(((code >= 0x3100) && (code <= 0x312F)));
}
/**
* xmlUCSIsBopomofoExtended:
* @code: UCS code point
*
* Check whether the character is part of BopomofoExtended UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBopomofoExtended(int code) {
return(((code >= 0x31A0) && (code <= 0x31BF)));
}
/**
* xmlUCSIsBoxDrawing:
* @code: UCS code point
*
* Check whether the character is part of BoxDrawing UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBoxDrawing(int code) {
return(((code >= 0x2500) && (code <= 0x257F)));
}
/**
* xmlUCSIsBraillePatterns:
* @code: UCS code point
*
* Check whether the character is part of BraillePatterns UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBraillePatterns(int code) {
return(((code >= 0x2800) && (code <= 0x28FF)));
}
/**
* xmlUCSIsBuhid:
* @code: UCS code point
*
* Check whether the character is part of Buhid UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsBuhid(int code) {
return(((code >= 0x1740) && (code <= 0x175F)));
}
/**
* xmlUCSIsByzantineMusicalSymbols:
* @code: UCS code point
*
* Check whether the character is part of ByzantineMusicalSymbols UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsByzantineMusicalSymbols(int code) {
return(((code >= 0x1D000) && (code <= 0x1D0FF)));
}
/**
* xmlUCSIsCJKCompatibility:
* @code: UCS code point
*
* Check whether the character is part of CJKCompatibility UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKCompatibility(int code) {
return(((code >= 0x3300) && (code <= 0x33FF)));
}
/**
* xmlUCSIsCJKCompatibilityForms:
* @code: UCS code point
*
* Check whether the character is part of CJKCompatibilityForms UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKCompatibilityForms(int code) {
return(((code >= 0xFE30) && (code <= 0xFE4F)));
}
/**
* xmlUCSIsCJKCompatibilityIdeographs:
* @code: UCS code point
*
* Check whether the character is part of CJKCompatibilityIdeographs UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKCompatibilityIdeographs(int code) {
return(((code >= 0xF900) && (code <= 0xFAFF)));
}
/**
* xmlUCSIsCJKCompatibilityIdeographsSupplement:
* @code: UCS code point
*
* Check whether the character is part of CJKCompatibilityIdeographsSupplement UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKCompatibilityIdeographsSupplement(int code) {
return(((code >= 0x2F800) && (code <= 0x2FA1F)));
}
/**
* xmlUCSIsCJKRadicalsSupplement:
* @code: UCS code point
*
* Check whether the character is part of CJKRadicalsSupplement UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKRadicalsSupplement(int code) {
return(((code >= 0x2E80) && (code <= 0x2EFF)));
}
/**
* xmlUCSIsCJKSymbolsandPunctuation:
* @code: UCS code point
*
* Check whether the character is part of CJKSymbolsandPunctuation UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKSymbolsandPunctuation(int code) {
return(((code >= 0x3000) && (code <= 0x303F)));
}
/**
* xmlUCSIsCJKUnifiedIdeographs:
* @code: UCS code point
*
* Check whether the character is part of CJKUnifiedIdeographs UCS Block
*
* Returns 1 if true 0 otherwise
*/
int
xmlUCSIsCJKUnifiedIdeographs(int code) {
return(((code >= 0x4E00) && (code <= 0x9FFF)));
}
/**
* xmlUCSIsCJKUnifiedIdeographsExtensionA:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -