List:General Discussion« Previous MessageNext Message »
From:Björn Persson Date:November 21 2005 12:21am
Subject:Re: Country codes
View as plain text  
Rhino wrote:
> Be careful when reading those lists! When I looked at page 3 in the English
> PDF, it said it was in numeric order and the list showed all the countries
> that use country code 1, then country 20 (Egypt), then country 210 (spare)
> *without* showing 55 (Brazil). Page 6 shows countries 500 through 509, then
> 51 through 58, and so on. Therefore, Brazil doesn't appear until Page 6.
> They have obviously chosen to sort the list only on the FIRST DIGIT of the
> country code; that's a pretty odd form of numerical order, in my opinion!

That's not normal numerical order of course, but it's exactly the order you 
need if you're parsing a phone number where you don't know beforehand how 
many digits are the country code. I suppose you could call it alphabetical 
order, only it's applied to digits instead of letters.

Björn Persson
Thread
how to installing mysql5 on fc3?ali asghar torabi parizy19 Nov
  • Country codesbruno b b magalhães20 Nov
  • Re: Country codesRhino20 Nov
    • Re: Country codesBjörn Persson21 Nov
  • Re: how to installing mysql5 on fc3?Colin Charles20 Nov
  • Re: Country codesRhino21 Nov
  • Re: Country codesprathima rao22 Nov
    • Re: Country codesRahul S. Johari22 Nov