Solved

Migration Problem: International Characters

Posted on 2003-12-05
3
187 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
ID: 9884454
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Asp.net Hosting Plan security, reliable, stable 1 79
SCCM vs Windows server 5 82
listing all functions in JavaScript 19 216
Problem to go to Web page 2 125
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The purpose of this video is to demonstrate how to Import and export files in 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 : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

789 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