libphonenumber-csharp icon indicating copy to clipboard operation
libphonenumber-csharp copied to clipboard

Get Supported Regions returns invalid regions

Open psiservices-pmerriman opened this issue 2 years ago • 2 comments

"AC", "TA" and "XK" are invalid regions according to ISO 3166 country list: https://www.iso.org/obp/ui/#search

psiservices-pmerriman avatar Dec 14 '21 21:12 psiservices-pmerriman

Sorry. These codes are returned from GetSupportedRegions() method.

psiservices-pmerriman avatar Dec 14 '21 21:12 psiservices-pmerriman

This library intends to match the behavior the the Google's Java version https://github.com/google/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMap.java feel free to file an issue with them https://github.com/google/libphonenumber/blob/master/CONTRIBUTING.md

twcclegg avatar Dec 14 '21 21:12 twcclegg

Closing due to inactivity.

twcclegg avatar Nov 27 '22 00:11 twcclegg