+
+ status = U_ZERO_ERROR;
+ Transliterator* anyASCII =
+ Transliterator::createInstance("Any-Latin;Latin-ASCII", UTRANS_FORWARD, parseError, status);
+ if (U_FAILURE(status) || anyASCII==0) {
+ dataerrln("FAIL: createInstance returned NULL and/or set status %s", u_errorName(status));
+ delete anyASCII;
+ return;
+ }
+
+ expect(*anyASCII,
+ CharsToUnicodeString("ArabicDigits:\\u0660\\u0661\\u0664\\u0669 PersianDigits:\\u06F0\\u06F1\\u06F4\\u06F9"),
+ CharsToUnicodeString("ArabicDigits:0149 PersianDigits:0149"));
+
+ delete anyASCII;