Solved

Migration Problem: International Characters

Posted on 2003-12-05
3
184 Views
Last Modified: 2013-12-24
Hi,

The situation:
I have a form in a ColdFusion page (note that it's a FORM and NOT a CFFORM).
The user fills out a text box and submits the result to another ColdFusion page.

The Problem:
I used to be running my pages against ColdFusion server Version 4.X and everything was fine. I migrated to a ColdFusion MX server. Now when the form data arrives to the second page (the action page) all the international characters are garbled up. For example "é" becomes "@". I see this using <CFDUMP var=form.textboxName> from the action page.

Obviously the problem is in the international language configuration of the ColdFusion server (since the client PC did not change / Yes I am positive that nothing changed on the client...no new patches...no new browser config...nothing). Did anyone have this problem?
I can't figure out where to change the settings for language under the ColdFusion Administrator.

I got some users comming to use this app in about 2 hours so I rated this high. But even if I can't fix it for today I am still going to need a solution eventualy!

I welcome any and all suggestions.

Thanks
0
Comment
Question by:visorneo
3 Comments
 
LVL 9

Accepted Solution

by:
shooksm earned 500 total points
Comment Utility
You might try using the ToBase64, ToBinary and ToString functions to manipulate the encoding used by Cold Fusion:

ToBase64 - http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca108.htm
ToBinary - http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca109.htm
ToString - http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca110.htm

The ToString function will let you choose the encoding method as long as it is binary data you are trying to convert.  So in your code you would store ToBinary(ToBase64(FORM.textboxname)) into the database and then use ToString(Query.textboxname, "utf-8") or whatever encoding you actually need.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now