• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eval() is breaking on IE while encoutring character Ü

 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Buddies,

I am doing an eval on data returned from ajax call which contains some special characters like Ü.
So on IE7, it gives me an error on eval statement saying : "}" missing.

However,
I am sure there is no problem in my json as it is working for all other cases.
Also,
I am facing this problem only on IE, on Chrome and firefox results are displayed as expected except the character is displayed as (a black diamond with white question mark).
Which is suppossed to be a Replacement character as per UTF-8 scheme.
http://en.wikipedia.org/wiki/Replacement_character#Replacement_character
http://en.wikipedia.org/wiki/UTF-8

I am getting crazy to make itwork on IE, any pointers will be highly appreciated.


Thanks,
Manish Ramrakhiani
 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry,
that argument to eval is data, not dd
 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic