Javascript: Invalid Character Error

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Javascript: Invalid Character Error

Post by mintedjo »

Computer wrote:[Exception... "String contains an invalid character" code: "5" nsresult: "0x80530005 (NS_ERROR_DOM_INVALID_CHARACTER_ERR)" location: "tabletest.html Line: 33"]
Can anybody elaborate? It might have something to do with the string being utf8 ... but i`ve tried a couple of work arounds for utf8 encoding and no luck.
Any input is much appreciated.
Joe
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Javascript: Invalid Character Error

Post by Eran »

could you elabroate a little more.. code samples and when does this happen. Did you try to inject UTF-8 characters to the DOM manually?
Post Reply