Jaroslav Kuruc dijo:
The problem is when I want to generate text which will be showed in javascript alert. When it contains entity representation of the characters, text in the message box is escaped and the entity representation is showed. At least in the IE.
Servus Blava ;-)
Currently, there is a problem:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26997
As a workaround you can encode the javascript as ISO-8859-1 (on the disk) and use the HTML entities to represent special chars.
The point is, browser doesn't understand entities in JS. Try this:
<html>
<body>
<script type="text/javascript" language="JavaScript">
alert('Á');
</script>
</body>
</html>
Best Regards,
Antonio Gallardo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jaroslav Kuruc [EMAIL PROTECTED] FIIT STU, D208 Ilkovic(ova 3 842 16 Bratislava 4
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
