could not evaluate javascript response: Invalid characters? [message #546403] |
Mon, 12 July 2010 12:16  |
Eclipse User |
|
|
|
Hi all experts,
I wrote a RAP application and deployed it to tomcat running on a Linux OS.
The problem is that when I restart the service and try to start a new sesssion, The IE explorer get the error message that "could not evaluate javascript response: Invalid characters"
The problem cannot be reproduced every time when restart the service.
When this problem occurs, I reopen a new IE explorer, and it works fine.
I saved the error page and tracked the source code of the html file, finding that the parameter of charset might be probably wrong:
"<meta http-equiv="Content-Type" content="text/html;charset=unicode" />".
The parameter "charset" there was set to "unicode" while in cases the application runs well it is set to "UTF-8".
Could you please have a glance on this problem?
Thanks and Best Regards!
|
|
|
Re: could not evaluate javascript response: Invalid characters? [message #546410 is a reply to message #546403] |
Mon, 12 July 2010 12:35   |
Eclipse User |
|
|
|
Hi,
it sounds like this bug:
298181: [encoding problem] encoding of the initial html page is not
specified, and thus is not always utf-8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=298181
which has been fixed in RAP 1.3M5 and backported to maintenance branch
1.2.2.
Which version of RAP are you using?
Best,
Ivan
On 07/12/2010 7:16 PM, lyp wrote:
> Hi all experts,
>
> I wrote a RAP application and deployed it to tomcat running on a Linux
> OS.
>
> The problem is that when I restart the service and try to start a new
> sesssion, The IE explorer get the error message that "could not
> evaluate javascript response: Invalid characters"
> The problem cannot be reproduced every time when restart the service.
> When this problem occurs, I reopen a new IE explorer, and it works fine.
>
> I saved the error page and tracked the source code of the html file,
> finding that the parameter of charset might be probably wrong:
> "<meta http-equiv="Content-Type" content="text/html;charset=unicode" />".
>
> The parameter "charset" there was set to "unicode" while in cases the
> application runs well it is set to "UTF-8".
>
> Could you please have a glance on this problem?
>
> Thanks and Best Regards!
>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03592 seconds