diff --git a/RMPhoneFormat/RMPhoneFormat.m b/RMPhoneFormat/RMPhoneFormat.m index 803dfe8..b30ab38 100644 --- a/RMPhoneFormat/RMPhoneFormat.m +++ b/RMPhoneFormat/RMPhoneFormat.m @@ -648,7 +648,7 @@ - (id)initWithDefaultCountry:(NSString *)countryCode { NSAssert(_data, @"The file PhoneFormats.dat is not in the resource bundle. See the README."); if (countryCode.length) { - _defaultCountry = countryCode; + _defaultCountry = [countryCode lowercaseString]; } else { NSLocale *loc = [NSLocale currentLocale]; _defaultCountry = [[loc objectForKey:NSLocaleCountryCode] lowercaseString];