]> granicus.if.org Git - icu/commitdiff
ICU-9759 fix typo, cannonical
authorMarkus Scherer <markus.icu@gmail.com>
Tue, 20 Nov 2012 23:55:31 +0000 (23:55 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Tue, 20 Nov 2012 23:55:31 +0000 (23:55 +0000)
X-SVN-Rev: 32871

icu4c/source/common/ucnv.c
icu4c/source/test/cintltst/capitst.c

index f7bf5489ac389f5b85803daacbf36b035fb13355..52d4f6d6267aff89a86d88bb45d141a27c58e01e 100644 (file)
@@ -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, '-');
index eefd67c1cddedb36fe87d81f21965bf72de4e6d9..d1432026c5c884fba53b04d174d5fe2be9783986 100644 (file)
@@ -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);