Is there a standard for storing normalized phone numbers in a database?

前端 未结 18 1510
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 19:23

What is a good data structure for storing phone numbers in database fields? I\'m looking for something that is flexible enough to handle international numbers, and also som

18条回答
  •  旧时难觅i
    2020-11-28 19:31

    User friendly: +44 (0)181 464 2542 normalised: 00441814642542

    The (0) is not valid in the international format. See the ITU-T E.123 standard.

    The "normalised" format would not be useful to US readers as they use 011 for international access.

提交回复
热议问题