CTPP2SysHeaders.h | CTPP2SysHeaders.h | |||
---|---|---|---|---|
skipping to change at line 81 | skipping to change at line 81 | |||
#define CTPP_ESCAPE_BUFFER_LEN 1024 | #define CTPP_ESCAPE_BUFFER_LEN 1024 | |||
#define CTPP_MAX_TEMPLATE_RECURSION_DEPTH 1024 | #define CTPP_MAX_TEMPLATE_RECURSION_DEPTH 1024 | |||
#define ICONV_SUPPORT 1 | #define ICONV_SUPPORT 1 | |||
#define ICONV_DISCARD_ILSEQ 1 | #define ICONV_DISCARD_ILSEQ 1 | |||
#define ICONV_TRANSLITERATE 1 | #define ICONV_TRANSLITERATE 1 | |||
#define CTPP_VERSION "2.6.10" | #define CTPP_VERSION "2.6.12" | |||
#define CTPP_IDENT "Dzoraget" | #define CTPP_IDENT "Dzoraget" | |||
#define CTPP_MASTER_SITE_URL "http://ctpp.havoc.ru/" | #define CTPP_MASTER_SITE_URL "http://ctpp.havoc.ru/" | |||
/* #undef THROW_EXCEPTION_IN_COMPARATORS */ | /* #undef THROW_EXCEPTION_IN_COMPARATORS */ | |||
#endif /* _CTPP2_SYS_HEADERS_H__ */ | #endif /* _CTPP2_SYS_HEADERS_H__ */ | |||
/* End. */ | /* End. */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
CTPP2Util.hpp | CTPP2Util.hpp | |||
---|---|---|---|---|
skipping to change at line 157 | skipping to change at line 157 | |||
@brief Length of UTF character | @brief Length of UTF character | |||
@brief szString - source string | @brief szString - source string | |||
@brief szStringEnd - pointer to the end of string | @brief szStringEnd - pointer to the end of string | |||
@return >0 - character length, | @return >0 - character length, | |||
-1 - error in multibyte sequence, | -1 - error in multibyte sequence, | |||
-2 - is not an UTF8 character, | -2 - is not an UTF8 character, | |||
-3 - unexpected end of string reached | -3 - unexpected end of string reached | |||
*/ | */ | |||
INT_32 utf_charlen(CCHAR_P szString, CCHAR_P szStringEnd); | INT_32 utf_charlen(CCHAR_P szString, CCHAR_P szStringEnd); | |||
/** | ||||
@fn INT_32 UnicodeToUTF8(UINT_32 iUCS, char * sUTF8) | ||||
@brief Convert Unicode character to UTF8 | ||||
@param iUCS - Unicode symbol | ||||
@param sUTF8 - Pointer to buffer, at least 6 octets | ||||
@return UTF8 character length | ||||
*/ | ||||
INT_32 UnicodeToUTF8(UINT_32 iUCS, UCHAR_P sUTF8); | ||||
} // namespace CTPP | } // namespace CTPP | |||
// End. | // End. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||