On 8/14/09, Nikita V. Youshchenko <yo...@debian.org> wrote: >> I'm thinking that a good way to compare phone numbers (for example the >> sender of a message and a phone book entry) is to check whether one >> number is a suffix of the other number. Are there any (non-obscure) >> cases where this would give false positives? > > Here in Russia +7916xxxxxxx and 8916xxxxxxx are the same numbers, but > neither one is prefix of the other one. > > Btw, when somebody calls me (to my daily phone, not freerunner), caller > number is autodetected with 8xxx form, while in the address book I prefer > to have +7xxx form such that it works abroad. > > Nikita
Correct implementation is already done in libphone-utils. Handling that case should be possible with correct country configuration. -- Sebastian Krzyszkowiak dos _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community