FW: CFMX cannot handle charset for URL variables

2003-03-26 Thread Murat Demirci
Ignore this stupid mail..

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 1:26 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CFMX cannot handle charset for URL variables

If you ask what query_string causes the problem, the answer aþðgý.
(Cf-talk list server doesn't allow non-ASCII characters)

How can I learn the unicode number of those characters? What is the name of
the function similar to ORD() for unicode?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 10:56 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm IE 6 with SP 1 and the option Send URL strings as unicode is
checked.

What do the URLEncoded query_strings look like? Both in the case it 
works and the case it doesn't work.

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: CFMX cannot handle charset for URL variables

2003-03-25 Thread Jochem van Dieten
Murat Demirci wrote:
 I'm IE 6 with SP 1 and the option Send URL strings as unicode is checked.

What do the URLEncoded query_strings look like? Both in the case it 
works and the case it doesn't work.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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



RE: CFMX cannot handle charset for URL variables

2003-03-25 Thread Murat Demirci
I'm using setEncoding function, this is a new function? setEncoding
function
should affect the URLEncodedFormat function.


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 6:25 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

On Monday, Mar 24, 2003, at 11:31 US/Pacific, Murat Demirci wrote:
 cflocation 
 url=url.cfm?text=#URLEncodedFormat(myUnicodeText,utf-8)#
 But why URLEncodedFormat doesn't use the utf-8 by default? Or why
 setEncoding(URL,UTF-8) function doesn't affect the
URLEncodedFormat
 function?

Backward compatibility? Did URLEncodedFormat(text) in CF5 just produce 
a URL-encoded text (non-unicode) string?

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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



RE: CFMX cannot handle charset for URL variables

2003-03-25 Thread Murat Demirci
If you ask what query_string causes the problem, the answer aþðgý.
(Cf-talk list server doesn't allow non-ASCII characters)

How can I learn the unicode number of those characters? What is the name
of
the function similar to ORD() for unicode?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 10:56 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm IE 6 with SP 1 and the option Send URL strings as unicode is
checked.

What do the URLEncoded query_strings look like? Both in the case it 
works and the case it doesn't work.

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



Re: CFMX cannot handle charset for URL variables

2003-03-25 Thread Jochem van Dieten
Murat Demirci wrote:
 If you ask what query_string causes the problem, the answer a??g?.
 (Cf-talk list server doesn't allow non-ASCII characters)

It does allow them, it just doesn't preserve the charset in the email 
headers (any progress on that Michael?).

But how does the URLEncoded string look? For instance, depending on how 
I enter the data in the address bar of the browser an é (eacute;, 
switch your mail client to UTF-8 to see it correctly) is encoded as 
either %C3%A9 (UTF-8) or as %E9 (ISO-8859-1 I think).

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
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=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
I'm not sure now whether it is a CF MX problem or not. It might be a browser
problem.

Any more ideas?

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 23, 2003 5:58 PM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

 Do you know CF MX has still problems with Unicode and other charsets.

hardly any.

 When I use setEncoding(url,utf-8), CF MX displays some double-byte
(the
 unicode number over than 255) as nothing. It displays nothing.

show some code.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
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=subscribeforumid=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



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
I'm IE 6 with SP 1 and the option Send URL strings as unicode is checked.


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

Murat Demirci wrote:
 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.

Most likely you are not using unicode in the address bar. Are you sure 
your browser is not submitting the string in whatever encodig is native 
for it? What do the URLEncoded query_strings look like?

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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



Re: CFMX cannot handle charset for URL variables

2003-03-24 Thread Jochem van Dieten
Murat Demirci wrote:
 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.

Most likely you are not using unicode in the address bar. Are you sure 
your browser is not submitting the string in whatever encodig is native 
for it? What do the URLEncoded query_strings look like?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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



Re: CFMX cannot handle charset for URL variables

2003-03-24 Thread Sean A Corfield
On Monday, Mar 24, 2003, at 11:31 US/Pacific, Murat Demirci wrote:
 cflocation 
 url=url.cfm?text=#URLEncodedFormat(myUnicodeText,utf-8)#
 But why URLEncodedFormat doesn't use the utf-8 by default? Or why
 setEncoding(URL,UTF-8) function doesn't affect the URLEncodedFormat
 function?

Backward compatibility? Did URLEncodedFormat(text) in CF5 just produce 
a URL-encoded text (non-unicode) string?

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



CFMX cannot handle charset for URL variables

2003-03-23 Thread Murat Demirci
Do you know CF MX has still problems with Unicode and other charsets.

 

When I use setEncoding(url,utf-8), CF MX displays some double-byte (the
unicode number over than 255) as nothing. It displays nothing.

 

When I don't use the setEncoding function CF MX uses UTF-8 by default
(documentation says this), but in this situation CF MX displays wrong chars.

 

For Form variables there is no problem.

 

What can I do? Any workaround?

 

Note: I'm using updater 2. I'm afraid of install problems coming with
updater 3 and I believe that this internalization problem is continuing with
updater 3.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



Re: CFMX cannot handle charset for URL variables

2003-03-23 Thread jochemd
Quoting Murat Demirci [EMAIL PROTECTED]:
 
 Do you know CF MX has still problems with Unicode and other charsets.
 
 When I use setEncoding(url,utf-8), CF MX displays some double-byte (the
 unicode number over than 255) as nothing. It displays nothing.

Which characters? Can you give some example code of a page with both form and
url variables that shows that a form works but URL variables not? What happens
if you use the builtin webserver?

Jochem
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: CFMX cannot handle charset for URL variables

2003-03-23 Thread Murat Demirci
I'm  working on IIS.

The code is:

!--- Application.cfm ---
cfapplication name=sample setclientcookies=no
!--- end ---

!--- url.cfm ---
cfprocessingdirective pageencoding=utf-8
Text:
cfoutput
#URL.text#
/cfoutput
!--- end ---

I'm calling url.cfm?text=Aağşıİxqöo
and the result:

Text:
AaðþýÝxqöo


When I use cfset setEncoding(URL,utf-8) in the application.cfm
The result:

Text:
Aa

CF MX currupts the string!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 23, 2003 5:00 PM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Quoting Murat Demirci [EMAIL PROTECTED]:
 
 Do you know CF MX has still problems with Unicode and other charsets.
 
 When I use setEncoding(url,utf-8), CF MX displays some double-byte (the
 unicode number over than 255) as nothing. It displays nothing.

Which characters? Can you give some example code of a page with both form and
url variables that shows that a form works but URL variables not? What happens
if you use the builtin webserver?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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



Re: CFMX cannot handle charset for URL variables

2003-03-23 Thread Jochem van Dieten
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=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

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



Re: CFMX cannot handle charset for URL variables

2003-03-23 Thread Paul Hastings
 Do you know CF MX has still problems with Unicode and other charsets.

hardly any.

 When I use setEncoding(url,utf-8), CF MX displays some double-byte
(the
 unicode number over than 255) as nothing. It displays nothing.

show some code.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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