Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Postal code question

Postal code question

Scheduled Pinned Locked Moved The Lounge
questionhelp
33 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B brianwelsch

    Here in the US we have Postal(Zip) Codes in the format of 12345-1234. The first 5 are required, and the last 4 help further sort for individual destinations. Called "Zip plus four". Anyway, I know Canadian codes are usually 6, but have come across a 15 character zip code field and was wondering if there was perhaps a system similar to our Zip+4. I couldn't see anything on Canada Post suggesting another system. Any other countries have use for a 15 character postal code?

    BW


    If you're not part of the solution, you're part of the precipitate.
    -- Steven Wright

    C Offline
    C Offline
    Chadlling
    wrote on last edited by
    #10

    Brian, Could you reproduce it for us? Canada only has 6 digits... going in order from bigger area in the first digit/letter to your actual street in the last digit. Ontario (11 million people) have PCs starting with K,L,M,N,P (no vowels). Boy... aren't postal codes just the most exciting things to read about? LOL Chad

    B B 2 Replies Last reply
    0
    • R RC_Sebastien_C

      Near Ottawa, on the Quebec side of the river

      L Offline
      L Offline
      lucy 0
      wrote on last edited by
      #11

      wow, does that mean A1A 1A1 is a valid postal code in Canada?

      C 1 Reply Last reply
      0
      • P Paul Watson

        Postal Code Rant. Ireland, except for the Dublin area, doesn't have postal codes. I live in Waterford city which is in Waterford county. No postal code. The number of websites that force me to enter in Waterford as a postal code is nuts. Some will even say that is an invalid postal code and not let me sign up (I then end up using 90210 as my postal code. Beverly Hills!) So please. If you are working on a system that records postal codes make it optional or let it contain a good number of characters and don't go assuming your ten year old postal code database knows better than people who live in the area. :)

        regards, Paul Watson Ireland FeedHenry needs you

        Shog9 wrote:

        eh, stop bugging me about it, give it a couple of days, see what happens.

        C Offline
        C Offline
        Chadlling
        wrote on last edited by
        #12

        Must be an age thing. When I need a US zip code for a web site... I always put in 60609... which was the zip code that was mentioned in all the "markson Goodson" Tv game shows like "Let's make a deal" and that nonsense that we watched as kids. Now it is 90210... makes sense! Chad

        1 Reply Last reply
        0
        • N Nish Nishant

          You saw a 15 digit Canadian postal code??? :confused:

          Regards, Nish


          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
          Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

          B Offline
          B Offline
          brianwelsch
          wrote on last edited by
          #13

          No, the field itself is 15 characters long, but I haven't seen any data that reaches that max length. I suppose they might have been allowing for future expansion, there are no design docs of course.

          BW


          If you're not part of the solution, you're part of the precipitate.
          -- Steven Wright

          1 Reply Last reply
          0
          • L lucy 0

            wow, does that mean A1A 1A1 is a valid postal code in Canada?

            C Offline
            C Offline
            Chadlling
            wrote on last edited by
            #14

            Lucy, Naw... no vowels allowed! Chad

            N D 2 Replies Last reply
            0
            • C Chadlling

              Brian, Could you reproduce it for us? Canada only has 6 digits... going in order from bigger area in the first digit/letter to your actual street in the last digit. Ontario (11 million people) have PCs starting with K,L,M,N,P (no vowels). Boy... aren't postal codes just the most exciting things to read about? LOL Chad

              B Offline
              B Offline
              brianwelsch
              wrote on last edited by
              #15

              Chadlling wrote:

              aren't postal codes just the most exciting things to read about?

              :-D Absolutely!

              Chadlling wrote:

              Canada only has 6 digits

              That's what I thought. As far as reproducing, I have no actual data, just the field definition allows for 15.

              BW


              If you're not part of the solution, you're part of the precipitate.
              -- Steven Wright

              1 Reply Last reply
              0
              • M Maximilien

                H0H-0H0 Is the postal code of Santa Claus. Full address : Santa Claus 1 North Pole Canada H0H-0H0 ;) BTW, this really works, around christmas time, children can send mail to that address, and some postal workers will relay the mail to Santa, and he will answer back.


                Maximilien Lincourt Your Head A Splode - Strong Bad

                C Offline
                C Offline
                Chadlling
                wrote on last edited by
                #16

                Maximillien, I learned from experience that you don't need the "1" as in 1 North Pole. just Santa Claus North Pole H0H 0H0 will do it. How many folks here didn't know that Santa Claus is a Canadian. Makes sense... he does have a good beer gut going!!

                1 Reply Last reply
                0
                • M Maximilien

                  H0H-0H0 Is the postal code of Santa Claus. Full address : Santa Claus 1 North Pole Canada H0H-0H0 ;) BTW, this really works, around christmas time, children can send mail to that address, and some postal workers will relay the mail to Santa, and he will answer back.


                  Maximilien Lincourt Your Head A Splode - Strong Bad

                  R Offline
                  R Offline
                  RC_Sebastien_C
                  wrote on last edited by
                  #17

                  hate to break childhood dreams... but sometimes he's too busy and an Elf forges his signature.

                  1 Reply Last reply
                  0
                  • C Chadlling

                    Lucy, Naw... no vowels allowed! Chad

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #18

                    Chadlling wrote:

                    Naw... no vowels allowed!

                    Cool. I never noticed that till you mentioned it :-)

                    Regards, Nish


                    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                    Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                    J 1 Reply Last reply
                    0
                    • N Nish Nishant

                      HollyHooo wrote:

                      Near Ottawa, on the Quebec side of the river

                      Cool - we've been to Ottawa once - which I thought was a nicer looking city compared to Toronto. And we intend to check out Quebec too (during a long weekend).

                      Regards, Nish


                      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                      Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                      C Offline
                      C Offline
                      Chadlling
                      wrote on last edited by
                      #19

                      Nish, Go check out Ottawa in January... it looks great... just like the inside of your freezer when you are getting your ice cream out. Chad

                      N 1 Reply Last reply
                      0
                      • P Paul Watson

                        Postal Code Rant. Ireland, except for the Dublin area, doesn't have postal codes. I live in Waterford city which is in Waterford county. No postal code. The number of websites that force me to enter in Waterford as a postal code is nuts. Some will even say that is an invalid postal code and not let me sign up (I then end up using 90210 as my postal code. Beverly Hills!) So please. If you are working on a system that records postal codes make it optional or let it contain a good number of characters and don't go assuming your ten year old postal code database knows better than people who live in the area. :)

                        regards, Paul Watson Ireland FeedHenry needs you

                        Shog9 wrote:

                        eh, stop bugging me about it, give it a couple of days, see what happens.

                        B Offline
                        B Offline
                        brianwelsch
                        wrote on last edited by
                        #20

                        Contrary to quaint sayings, Paul, the customer is not always right, nor does mother always know best. If the computer says your code is in invalid, then it clearly is invalid. You know it's freethinkers like yourself what make this business so difficult sometimes. :sigh: Seriously, though, you make a good point. Our product is currently only in NA, but I will keep Waterford in mind if I work any more global products in the future.

                        BW


                        If you're not part of the solution, you're part of the precipitate.
                        -- Steven Wright

                        1 Reply Last reply
                        0
                        • B brianwelsch

                          Here in the US we have Postal(Zip) Codes in the format of 12345-1234. The first 5 are required, and the last 4 help further sort for individual destinations. Called "Zip plus four". Anyway, I know Canadian codes are usually 6, but have come across a 15 character zip code field and was wondering if there was perhaps a system similar to our Zip+4. I couldn't see anything on Canada Post suggesting another system. Any other countries have use for a 15 character postal code?

                          BW


                          If you're not part of the solution, you're part of the precipitate.
                          -- Steven Wright

                          M Offline
                          M Offline
                          Marc Clifton
                          wrote on last edited by
                          #21

                          If you're planning on going postal, I don't think you need to worry about codes. Marc

                          Thyme In The Country

                          Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                          People are just notoriously impossible. --DavidCrow
                          There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                          1 Reply Last reply
                          0
                          • C Chadlling

                            Nish, Go check out Ottawa in January... it looks great... just like the inside of your freezer when you are getting your ice cream out. Chad

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #22

                            Chadlling wrote:

                            Go check out Ottawa in January... it looks great... just like the inside of your freezer when you are getting your ice cream out.

                            :-D

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                            1 Reply Last reply
                            0
                            • B brianwelsch

                              Here in the US we have Postal(Zip) Codes in the format of 12345-1234. The first 5 are required, and the last 4 help further sort for individual destinations. Called "Zip plus four". Anyway, I know Canadian codes are usually 6, but have come across a 15 character zip code field and was wondering if there was perhaps a system similar to our Zip+4. I couldn't see anything on Canada Post suggesting another system. Any other countries have use for a 15 character postal code?

                              BW


                              If you're not part of the solution, you're part of the precipitate.
                              -- Steven Wright

                              V Offline
                              V Offline
                              V 0
                              wrote on last edited by
                              #23

                              we only have four digits ;P. (Which actually is sometimes very annoying when you have to fill in I-net forms where they require a 5 digit zip code)

                              I've found a living worth working for, but I haven't found work worth living for. :beer:
                              :jig:

                              1 Reply Last reply
                              0
                              • P Paul Watson

                                Postal Code Rant. Ireland, except for the Dublin area, doesn't have postal codes. I live in Waterford city which is in Waterford county. No postal code. The number of websites that force me to enter in Waterford as a postal code is nuts. Some will even say that is an invalid postal code and not let me sign up (I then end up using 90210 as my postal code. Beverly Hills!) So please. If you are working on a system that records postal codes make it optional or let it contain a good number of characters and don't go assuming your ten year old postal code database knows better than people who live in the area. :)

                                regards, Paul Watson Ireland FeedHenry needs you

                                Shog9 wrote:

                                eh, stop bugging me about it, give it a couple of days, see what happens.

                                P Offline
                                P Offline
                                peterchen
                                wrote on last edited by
                                #24

                                No postal coders - err, codes, sound like paradise to me :)


                                We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                Linkify! || Fold With Us! || sighist

                                1 Reply Last reply
                                0
                                • N Nish Nishant

                                  HollyHooo wrote:

                                  Near Ottawa, on the Quebec side of the river

                                  Cool - we've been to Ottawa once - which I thought was a nicer looking city compared to Toronto. And we intend to check out Quebec too (during a long weekend).

                                  Regards, Nish


                                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                  Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                                  R Offline
                                  R Offline
                                  RC_Sebastien_C
                                  wrote on last edited by
                                  #25

                                  I think I remember your telling about the tulip festival. That was too bad, Ottawa is a nice place to visit (usualy). Let me know if you'd like suggestions when you get to plan your Quebec trip!

                                  N 1 Reply Last reply
                                  0
                                  • R RC_Sebastien_C

                                    I think I remember your telling about the tulip festival. That was too bad, Ottawa is a nice place to visit (usualy). Let me know if you'd like suggestions when you get to plan your Quebec trip!

                                    N Offline
                                    N Offline
                                    Nish Nishant
                                    wrote on last edited by
                                    #26

                                    HollyHooo wrote:

                                    Let me know if you'd like suggestions when you get to plan your Quebec trip!

                                    Thanks. :-)

                                    Regards, Nish


                                    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                    Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                                    1 Reply Last reply
                                    0
                                    • N Nish Nishant

                                      Chadlling wrote:

                                      Naw... no vowels allowed!

                                      Cool. I never noticed that till you mentioned it :-)

                                      Regards, Nish


                                      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                      Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog (New)

                                      J Offline
                                      J Offline
                                      Jun Du
                                      wrote on last edited by
                                      #27

                                      Me neither. They should put that as a citizenship test question :)

                                      Best, Jun

                                      1 Reply Last reply
                                      0
                                      • C Chadlling

                                        Brian, Could you reproduce it for us? Canada only has 6 digits... going in order from bigger area in the first digit/letter to your actual street in the last digit. Ontario (11 million people) have PCs starting with K,L,M,N,P (no vowels). Boy... aren't postal codes just the most exciting things to read about? LOL Chad

                                        B Offline
                                        B Offline
                                        Blake Miller
                                        wrote on last edited by
                                        #28

                                        Yes, but coders going postal are even more fun to read about!

                                        Any sufficiently gross incompetence is nearly indistinguishable from malice.

                                        1 Reply Last reply
                                        0
                                        • C Chadlling

                                          Lucy, Naw... no vowels allowed! Chad

                                          D Offline
                                          D Offline
                                          Denevers
                                          wrote on last edited by
                                          #29

                                          uh ?. My office postal code is G1K 9A9

                                          Denevers

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups