when displaying as html content it works fine soon as you pass this text through js the problem occurs by converting the é character as a ?.
Any thoughts On Apr 24, 2:59 pm, Michael Lawson <mjlaw...@us.ibm.com> wrote: > 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 > > graycol.gif > < 1KViewDownload > > ecblank.gif > < 1KViewDownload