Page 1 of 1

[RESOLVED]Japanese texts on custom options are garbling

Posted: Fri Sep 21, 2012 2:52 pm
by summerfrogs
Script URL: -
Version of script: 2.4.1
Hosting company: own
URL of phpinfo.php: -
URL of session_test.php: -
What terms did you try when SEARCHING for a solution: Japanese garble

Write your message below:
Using Japanese text on custom options for custom field sets makes itself garbled.
For the very first time, Japanese texts were saved successfully and correctly.
But next time, click the 'Options' link and open the popup window of custom options for editing the saved options, then what I can see is only garbled texts (like "%u3075%u3082%u3063").

It's maybe a problem of encoding at the reopening/re-editing, but since the options is saved as a file not in a database, how can I resolve it?

Re: Japanese texts on custom options make itself garbled

Posted: Fri Sep 21, 2012 5:26 pm
by Klemen
This seems to be a problem with Javascript <=> PHP decoding.

Try uploading this options.php file to your "admin" folder:
http://www.phpjunkyard.com/extras/options_urdecode.zip

Does that help?

Re: Japanese texts on custom options make itself garbled

Posted: Sat Sep 22, 2012 3:20 am
by summerfrogs
Yes. It worked!
Thank you very much for perfect support.