+ // Resolve actual locale to be used later
+ UErrorCode tmpsts = U_ZERO_ERROR;
+ char tmpLocID[ULOC_FULLNAME_CAPACITY];
+ int32_t len = uloc_getLocaleForLCID(fLCID, tmpLocID, sizeof(tmpLocID)/sizeof(tmpLocID[0]) - 1, &tmpsts);
+ if (U_SUCCESS(tmpsts)) {
+ tmpLocID[len] = 0;
+ fLocale = Locale((const char*)tmpLocID);
+ }
+