Skip to content

Region code for phone numbers with no fixed country (e.g. +808) are erroneously set to US  #17

@ckpwong

Description

@ckpwong

Certain phone number country dialing codes are not associated with specific countries, for example, +800, +808, and +870.

The official Java and JavaScript libphonenumber correctly do not set the region code and country code for these phone numbers. However, awesome-phonenumber incorrectly identify these numbers as US phone numbers.

See https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml for detailed metadata used in official libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions