From: Markus Scherer Date: Tue, 20 Nov 2012 23:55:31 +0000 (+0000) Subject: ICU-9759 fix typo, cannonical X-Git-Tag: milestone-59-0-1~3310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96cf03a67dab901ede0ecd947af2421eaa85f075;p=icu ICU-9759 fix typo, cannonical X-SVN-Rev: 32871 --- diff --git a/icu4c/source/common/ucnv.c b/icu4c/source/common/ucnv.c index f7bf5489ac3..52d4f6d6267 100644 --- a/icu4c/source/common/ucnv.c +++ b/icu4c/source/common/ucnv.c @@ -680,7 +680,7 @@ ucnv_getCCSID(const UConverter * converter, ccsid = converter->sharedData->staticData->codepage; if (ccsid == 0) { /* Rare case. This is for cases like gb18030, - which doesn't have an IBM cannonical name, but does have an IBM alias. */ + which doesn't have an IBM canonical name, but does have an IBM alias. */ const char *standardName = ucnv_getStandardName(ucnv_getName(converter, err), "IBM", err); if (U_SUCCESS(*err) && standardName) { const char *ccsidStr = uprv_strchr(standardName, '-'); diff --git a/icu4c/source/test/cintltst/capitst.c b/icu4c/source/test/cintltst/capitst.c index eefd67c1cdd..d1432026c5c 100644 --- a/icu4c/source/test/cintltst/capitst.c +++ b/icu4c/source/test/cintltst/capitst.c @@ -611,21 +611,21 @@ void TestDecomposition() { if (ucol_getAttribute(vi_VN, UCOL_NORMALIZATION_MODE, &status) != UCOL_ON || U_FAILURE(status)) { - log_err("ERROR: vi_VN collation did not have cannonical decomposition for normalization!\n"); + log_err("ERROR: vi_VN collation did not have canonical decomposition for normalization!\n"); } status = U_ZERO_ERROR; if (ucol_getAttribute(el_GR, UCOL_NORMALIZATION_MODE, &status) != UCOL_ON || U_FAILURE(status)) { - log_err("ERROR: el_GR collation did not have cannonical decomposition for normalization!\n"); + log_err("ERROR: el_GR collation did not have canonical decomposition for normalization!\n"); } status = U_ZERO_ERROR; if (ucol_getAttribute(en_US, UCOL_NORMALIZATION_MODE, &status) != UCOL_OFF || U_FAILURE(status)) { - log_err("ERROR: en_US collation had cannonical decomposition for normalization!\n"); + log_err("ERROR: en_US collation had canonical decomposition for normalization!\n"); } ucol_close(en_US);