+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2001, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
UErrorCode status = U_ZERO_ERROR;
myCollation = ucol_open("ja_JP", &status);
if(U_FAILURE(status)){
- log_err("ERROR: in creation of rule based collator: %s\n", myErrorName(status));
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
return;
}
log_verbose("Testing Kanna(Japan) Collation with Tertiary strength\n");
myCollation = ucol_open("ja_JP", &status);
if (U_FAILURE(status))
{
- log_err("ERROR: in creation of rule based collator: %s\n",
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n",
myErrorName(status));
return;
}
myCollation = ucol_open("ja_JP", &status);
if (U_FAILURE(status))
{
- log_err("ERROR: in creation of rule based collator: %s\n",
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n",
myErrorName(status));
return;
}
myCollation = ucol_open("ja_JP", &status);
if (U_FAILURE(status))
{
- log_err("ERROR: in creation of rule based collator: %s\n",
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n",
myErrorName(status));
return;
}
myCollation = ucol_open("ja_JP", &status);
if (U_FAILURE(status))
{
- log_err("ERROR: in creation of rule based collator: %s\n",
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n",
myErrorName(status));
return;
}
myCollation = ucol_open("ja_JP", &status);
if (U_FAILURE(status))
{
- log_err("ERROR: in creation of rule based collator: %s\n",
+ log_err_status(status, "ERROR: in creation of rule based collator: %s\n",
myErrorName(status));
return;
}