I have some Japanese characters that I need to convert back from ISO-8859-1 to it's origional form.


So I have a form that I use the 'accept-charset="ISO-8859-1"' option on the form tag. The form converts my japanese character to "き" which is stored in my db but I need to use Coldfusion to decode it back to the japanese character for searching through a API call.

Thanks for the help,

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

brihol44Author Commented:
I did try this...

        chardecode=CharsetEncode("&##12365;", "utf-8");


but then it gave me...

Parameter 1 of the CharsetEncode function, which is now MY JAPANESE CHAR WHICH WON'T SHOW here, must be a valid binary object.

Maybe I have to convert the string from my form something other than.. 'accept-charset="ISO-8859-1"'
Bhavesh ShahLead AnalysistCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.