[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread oscar esp
Thanks.. however my project it is in asp :-( On 6 jun, 04:32, Rhapidophyllum [EMAIL PROTECTED] wrote: Perl Python are great at converting character sets. On Jun 5, 2007, at 4:00 PM, oscar esp wrote: I am trying to find some code to do the conversion... however I did get any thing

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread oscar esp
Any one knows some conversion dll or script or something I am desesperate!!! In order to refresh my problem: I have a asp page with iso-8859-1 wich recives a post in utf-8... I can not change teh code page neither the server header.. .I need to take the Resquest.queryString(var) and conver tto

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Chris W. Parker
On Wednesday, June 06, 2007 10:53 AM oscar esp said: Any one knows some conversion dll or script or something I am desesperate!!! In order to refresh my problem: I have a asp page with iso-8859-1 wich recives a post in utf-8... I can not change teh code page neither the server header..

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Ⓙⓐⓚⓔ
Oscar, I've put together an ajax call that passes iso8859-1 instead of utf-8. It's not pretty but shows that by doing your own serialize the server sees iso chars instead of utf. script type=text/javascript src=../js/jquery.js/script script type=text/javascript

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Ⓙⓐⓚⓔ
in the case where escape doesn't work for you, you would have to substitute a function that does what you want... I tried 1 letter ö. On 6/6/07, Mike Alsup [EMAIL PROTECTED] wrote: Remember that escape and unescape don't work properly for non-ASCII characters and have been deprecated.

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-05 Thread oscar esp
I am trying to find some code to do the conversion... however I did get any thing right now On 4 jun, 21:37, Bil Corry [EMAIL PROTECTED] wrote: Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add support in the ASP page to convert UTF-8 into 8859. I don't know if this will help, but here's all

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-05 Thread Rhapidophyllum
Perl Python are great at converting character sets. On Jun 5, 2007, at 4:00 PM, oscar esp wrote: I am trying to find some code to do the conversion... however I did get any thing right now On 4 jun, 21:37, Bil Corry [EMAIL PROTECTED] wrote: Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread Bil Corry
joomlafreak wrote on 6/3/2007 8:20 PM: I don't know if it should be utf-8 or something anywhere in this. I read on this thread or some other thread that the javascript will deal with this encoding in utf-8. Where you see the following in the response header: Content-Type: text/html

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread oscar esp
Hi Mike, Then: There are not way to do a ajax call with charset iso8859¿? I can not add any header or something like that beforeSubmit in order to force iso8859 instead Of utf-8 ¿? My problem is I can not change the charset of asp pages which recives the ajax call. I feel a little bit

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread joomlafreak
hi thanks for the this more elaborate explanation. I still have one question though. Where do I specify my charset so make the change in response header, in the output from the php file that I am using to query with GET or in the ajax call itself to this php file, which I suppose would be using

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread joomlafreak
ok I read bout it and found it. It has to included in the php file I am calling. Will test it now. thanks a lot On Jun 4, 11:03 am, joomlafreak [EMAIL PROTECTED] wrote: hi thanks for the this more elaborate explanation. I still have one question though. Where do I specify my charset so make

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread Mike Alsup
Oscar, JavaScript provides native encoding capabilities for UTF-8 only. jQuery's ajax functionality merely uses the native encodeURIComponent method that JavaScript provides. If your server depends on processing 8859 then you need to do one of the following: 1. Do not use ajax for these

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread Mike Alsup
jQuery's ajax functionality merely uses the native encodeURIComponent method that JavaScript provides. I should also mention that ALL the major JS libraries (dojo, YUI, Prototype, Moo, etc) use this same technique. Mike

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread Bil Corry
joomlafreak wrote on 6/4/2007 8:03 AM: I hope you would reply to this rather mundane question for you. Thanks again I know you found the answer; the reason I didn't provide it is because I don't use PHP, so I'm unfamiliar with how headers are set within it. - Bil

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-04 Thread Bil Corry
Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add support in the ASP page to convert UTF-8 into 8859. I don't know if this will help, but here's all the Windows-1252 chars and their UTF-8 equivalents: http://corry.biz/conversion_chart.html - Bil

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread oscar esp
Many thanks!!! The problem is that my application is a old asp application and I can not change all the charsets... Are there any way to setup ajax (I think something like jQuery.ajax(...)) in order to set the charset to iso-8859-1 On 2 jun, 21:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: jQuery has

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread Ⓙⓐⓚⓔ
the horrible circle of iso8859-1 starts with the way the charset of the html page. I think without setting another thing, you get iso8859-1 ajax calls, a header added in the beforesubmit might help... not sure! I always recommend going full utf when you have this kind of problem... Good luck!

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread Mike Alsup
I always recommend going full utf when you have this kind of problem... Same here. jQuery is only going to submit UTF-8 because it uses encodeURIComponent (as it should). If you need a different charset on the server then that's where you'll need to convert it. Mike

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread Ⓙⓐⓚⓔ
I don't think there is a quick and dirty solution. You need to update the asp. http://groups.google.com/group/jquery-en/browse_thread/thread/0d65588467a4704a On 6/3/07, Mike Alsup [EMAIL PROTECTED] wrote: I always recommend going full utf when you have this kind of problem... Same here.

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread joomlafreak
I am also frustrated with this issue and have been reading on internet every bit I can make sense of but still have no clue on how to solve this, I have problem with Norwegian language. I am using $.get to get content from database processed by a php file nsdb.php. This file takes out the html

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread Ⓙⓐⓚⓔ
ok the long and tedious method (as I see it) would be using an extra header when you post all ajax requests, doing your own manual encoding of get parameters OR just making sure your cgi/asp/php program handle utf if they get it. Perhaps someone cares to do the testing and recoding that would

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-03 Thread Ⓙⓐⓚⓔ
your response header has nothing about a charset! and you need to set it in the request header... I have no idea if it will ever work, as I went UTF-8 long before I met jQuery! On 6/3/07, joomlafreak [EMAIL PROTECTED] wrote: Hi This the response header DateMon, 04 Jun 2007 03:11:27 GMT

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-02 Thread Ⓙⓐⓚⓔ
jQuery has no core character set, nor does JavaScript. When you don't specify it everywhere you get mixed sets. Your asp is getting utf-8, but you are expecting one of the ascii iso8859 sets. My advice is to use utf-8 everywhere and make sure you properly handle the utf-8 in your asp. You can