Found a solution!

CF MX has no bug! When I use a cflocation tag, I'll use URLEncodedFormat
function with a second hidden parameter "encoding" like:

<cflocation url="url.cfm?text=#URLEncodedFormat(myUnicodeText,"utf-8")#">

URLEncodedFormat function converts double-byte chars to equivalent forms.
Very good!

But why URLEncodedFormat doesn't use the utf-8 by default? Or why
setEncoding("URL","UTF-8") function doesn't affect the URLEncodedFormat
function?

-----Original Message-----
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 7:01 PM
To: CF-Talk
Subject: RE: CFMX cannot handle charset for URL variables

When I type a unicode string in the form field and submit the form, there is
no problem. However when I type the same unicode string in the address bar
the problem occurs. Similarly when I use <cflocation url=#unicode_string#>
in a page the problem repeats.

-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 1:36 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
> I'm  working on IIS.

WFM

http://cfmx.oli.tudelft.nl/url.cfm

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to