IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Have to disagree with that one
The formats you know, your classes should do validation. There's no point in storing a 6-digit number that is supposedly for the U.S.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New It would be a LOT of work
and I know of no library that is comprehensive.

Best not to do any rather than appear stupid.

Besides, the value of "validation" is limited - its not like a little set of heuristics is actually gonna guarantee that the number actually WORKS or anything.

I figure you're no worse off.



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
Expand Edited by tuberculosis March 27, 2005, 11:31:45 PM EST
New No, Todd is right
Just take Italy for example. Phone numbers there can be either 9 or 10 digits including area code -- I'm not sure if more variations are possible, but I've seen these two variations.

IIRC, area codes used to be two digit (say before 1998), but are now three digit.

So you can't make assumptions, and the rules can change over time.

Tony
     Phone numbers and i18n - (Yendor) - (39)
         Only thing I would question - (jake123)
         If you want to make your display useful - (Arkadiy) - (3)
             What else could you store it as? -NT - (drewk)
             Re: If you want to make your display useful - (Yendor) - (1)
                 Country code, area code, main number, extension -NT - (Arkadiy)
         Re: Phone numbers and i18n - (JayMehaffey) - (1)
             Re: Phone numbers and i18n - (Yendor)
         Basically, you're totally wrong, and your colleague right. - (CRConrad) - (22)
             American users are helped by it - (drewk) - (17)
                 In Charlotte, and surrounding area,... - (a6l6e6x)
                 No - (tuberculosis) - (15)
                     True, if everything's 10-digit no need for the '1' -NT - (drewk)
                     the leading one is to route to a stp for long distance - (boxley) - (2)
                         I know why its there - (tuberculosis) - (1)
                             duh, forgot about that :-) - (boxley)
                     Here too - (SpiceWare)
                     Well, (probably because I'm a contrarian) - (jb4) - (9)
                         Note on "overlaid" area codes. - (static) - (8)
                             Houston did both - (SpiceWare) - (7)
                                 Sounds like they didn't give enough notice. - (static) - (1)
                                     wasn't much - (SpiceWare)
                                 Re: Houston did both - (JayMehaffey)
                                 The reason our "Bell system" will NEVER increase... - (jb4) - (3)
                                     rule of 7 is long gone - (SpiceWare) - (2)
                                         Yes, of course - (jb4) - (1)
                                             I think that rule is slightly faulty anyway. - (static)
             In A5a, it works like this. - (Another Scott) - (1)
                 wrt Canada - (jake123)
             Also, a11y. - (pwhysall)
             That's why you're an international linguist... - (jb4)
         I've had a little experience storing I18n phone numbers. - (static) - (3)
             Maybe you have to assume some level of user knowledge - (drewk) - (2)
                 Not to mention, having an International internal phone sys. - (folkert)
                 Definitely. - (static)
         The only thing you can assume - (tuberculosis) - (4)
             Have to disagree with that one - (drewk) - (2)
                 It would be a LOT of work - (tuberculosis)
                 No, Todd is right - (tonytib)
             Re: The only thing you can assume - (JayMehaffey)

It is toilet- ka ka crap as in the egregiously unfunny and unwatchable SNL.
75 ms