Author Topic: Weird characters in USPS international shipping?  (Read 2896 times)

deathdealer1252

  • Beginner
  • *
  • Posts: 1
Weird characters in USPS international shipping?
« on: March 17, 2011, 21:54:35 pm »
I can not find where these characters are coming from and it is only when I am doing international shipping.

Code: [Select]
USPS USPS GXG<sup>&trade;</sup> Envelopes** ($66.50)  -  1 - 3 business days

USPS Express Mail<sup>&reg;</sup> International Flat Rate Envelope ($29.95)  -  3 - 5 business days

USPS Priority Mail<sup>&reg;</sup> International ($29.50)  -  6 - 10 business days

I am using USPS 3.0 (2007/06/21) Corey Koltz. If anyone knows how to solve this problem that would be great.

The site is live, so if you want to check it out for your self go to https://www.orafrique.com and make sure when checking out your country is not united states.

lowmips

  • Global Moderator
  • Full Member
  • *
  • Posts: 1464
    • lowmips.com
Re: Weird characters in USPS international shipping?
« Reply #1 on: March 23, 2011, 02:57:26 am »
USPS updated its service names on Jan 1 2011.  The module is simply echo'ing out what was given to it.  At some point the rate is URL-encoded, so what you're seeing is those encodings instead of the characters they should be representing. To get rid of it you'd need to parse and strip out or replace any of the chars you do not want to see.

-Reggie
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)