You could always try converting it to an html entity in your application,
then you don't have to worry about character sets.

cheers

Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone:  1-828-355-5544
E-mail:  mjlaw...@us.ibm.com

'Examine my teachings critically, as a gold assayer would test gold. If you
find they make sense, conform to your experience, and don't harm yourself
or others, only then should you accept them.'


                                                                       
  From:       rmeder <rme...@gmail.com>                                
                                                                       
  To:         "jQuery (English)" <jquery-en@googlegroups.com>          
                                                                       
  Date:       04/24/2009 08:56 AM                                      
                                                                       
  Subject:    [jQuery] AJAX Response causing character display problems with 
chars like
                                                                       






Hi Guys,

When passing a é character as part of an an ajax responset and
printing the text to the screen from js, the value display as a ?. I
tried converting the piece of text to utf8 and then it displays
correctly on a windows server however on Linux server the vallues
still displays as a ?.

I am using Java as my backend code and encode the text as UTF8 by
using the getBytes method. Can anybody assist me with the problem or
have any suggestions how to go about fixxing it.


Regards,

Ryan






<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to