I18N_UCHAR_UBLOCK_BHAIKSUKI = 264, /**< Bhaiksuki (Since 4.0) */
I18N_UCHAR_UBLOCK_CYRILLIC_EXTENDED_C = 265, /**< Cyrillic Extended C (Since 4.0) */
I18N_UCHAR_UBLOCK_GLAGOLITIC_SUPPLEMENT = 266, /**< Glagolitic Supplement (Since 4.0) */
- I18N_UCHAR_UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /**< Ideographic Symbols And Punctation (Since 4.0) */
+ I18N_UCHAR_UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /**< Ideographic Symbols And Punctuation (Since 4.0) */
I18N_UCHAR_UBLOCK_MARCHEN = 268, /**< Marchen (Since 4.0) */
I18N_UCHAR_UBLOCK_MONGOLIAN_SUPPLEMENT = 269, /**< Mongolian Supplement (Since 4.0) */
I18N_UCHAR_UBLOCK_NEWA = 270, /**< Newa (Since 4.0) */
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef struct {
- int32_t line; /**< The line on which the error occured. */
+ int32_t line; /**< The line on which the error occurred. */
int32_t offset; /**< The character offset to the error */
i18n_uchar preContext[I18N_U_PARSE_CONTEXT_LEN]; /**< Textual context before the error */
i18n_uchar postContext[I18N_U_PARSE_CONTEXT_LEN]; /**< The error itself and/or textual context after the error */
code_point = 0x73; // 's'
ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value;
dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width);
// How to get the block code for 's'
ret = i18n_uchar_get_ublock_code(code_point, &block_code);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code);
// block code for ( 0073 ) is ( 1 ) which is I18N_UCHAR_UBLOCK_BASIC_LATIN
code_point = 0x661F; // 'sung' as ideographs
ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value;
dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width);
// How to get the block code for 'sung' as ideographs
ret = i18n_uchar_get_ublock_code(code_point, &block_code);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code);
// block code for ( 661f ) is ( 71 ) which is I18N_UCHAR_UBLOCK_CJK_UNIFIED_IDEOGRAPHS
code_point = 0xC131; // 'sung' as hangul
ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value;
dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width);
// How to get the block code for 'sung' as hangul
ret = i18n_uchar_get_ublock_code(code_point, &block_code);
if (ret != I18N_ERROR_NONE) {
- dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n");
+ dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n");
} else {
dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code);
// block code for ( c131 ) is ( 74 ) which is I18N_UCHAR_UBLOCK_HANGUL_SYLLABLES
* @param[in] c The code point to be mapped
* @param[out] upper The #I18N_UCHAR_SIMPLE_UPPERCASE_MAPPING of the code point, if any;
- * therwise the code point itself.
+ * otherwise the code point itself.
*
* @return @c 0 on success, otherwise a negative error value
* @retval #I18N_ERROR_NONE Successful