Replacing \x and \u to x and u.
The variable stores the user and the host name. For example... WEBSERVER\user.
But the backslash causes that whenever I access that variable, it replacing
it with the corresponding escape character. (e.g. backspace for \b, new line
for \n, etc..)
I fix this problem by search and replace the escape character with the correct
character, except for the \x and \u escape character. With these two it displays
a runtime error ("Expecting a Hexadecimal number."). I cannot replace these
characters because the runtime error stop the script before the search and
I also tried to trap the error with the window.onerror function.
Do anyone knows who to replace these two characters? Thanks in advance.
Re: Replacing \x and \u to x and u.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center