Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal (express.php) can not show correctly in Traditional Chinese with UTF-8 encoded,


patricklee

Recommended Posts

Hello! all,

I try to use paypal express module, it works!

 

But the product name of "Your order sum may" of the paypal web can not show correctly in Traditional Chinese with UTF-8 encoded,

 

and Billing information, and shipping address are not shown correctly, either.

 

I try to set the "encoding option" to "UTF-8" in the setting of my account of paypal website.But it still NOT work!!!!

 

what can I do to correct this problem???

 

THANK YOU!

 

problem pictures like below:

 

http://farm4.staticflickr.com/3756/9385990395_694edfd12c_o.png

 

 

http://farm4.staticflickr.com/3670/9385990391_a2d2b429e2_o.png

Link to comment
Share on other sites

  • 7 months later...

#osc #paypal #utf8 #checkout #item #international ... god... it spend me so many days to figure it out...@@ i cant change lines.... just edit includes/modules/payment/paypal_express.php remark the original code (4 lines): // $post_string .= $key . '=' . urlencode(utf8_encode(trim($value))) . '&'; and change to:

$post_string .= $key . '=' . urlencode(trim($value)) . '&'; 進到編輯模式突然沒辦法換行...把utf8_encode()拿掉就可以啦!估計是mysql已經是utf8編碼導致抓出來應該就已經是utf8編碼,再編一次當然會錯亂~記得paypal的按鈕那裏也要設成utf8喔~不用感謝我...我找不到答案的時候也是頭大了好幾天...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...