Is your text being encoded by the Server?

Maybe also try to make sure the font you're using a font that supports funny chars - usually Verdana is the best for foreign languages..( the Nigerian Currency Symbol comes to mind..) - but that probably wouldn't throw a exception... C

On 10/30/06, Ryan Meder <[EMAIL PROTECTED]> wrote:

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]]On 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to