Hi tried escape function, it encodes the string in a format, then i decode the by making use of unexcape and still get the same error with the character è throwing an exception.
Thanks ryan On 30/10/06, Bertram Julius <[EMAIL PROTECTED]> wrote: > > try escape(str) > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] Behalf Of Ryan Meder > Sent: 30 October 2006 08:25 > To: [email protected] > Subject: [CTJUG Forum] JavaScript Eval Method with funny characters > > > > Hi All, > > I am making use of the JavaScript eval method to evaluate my AJAX JSON > objects from the server. The problem is that from the server I have > values such as i.e. è and many other funny characters. The eval method > is unable to interpret these characters and throws an exception. I am > sure that JavaScript must be able to resolve characters like this as > many French words contain all the funny characters and so forth. > > Can any body help with suggestions, > > > -- > Regards, > > Ryan Meder > > > > This e-mail and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to which they are addressed. > If you have received this e-mail in error please notify NSFAS immediately. > Please note that any views or opinions presented in this e-mail are solely > those of the author and do not necessarily represent those of the > organisation. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CTJUG Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/CTJUG-Forum For the ctjug home page see http://www.ctjug.org.za -~----------~----~----~----~------~----~------~--~---
