Include the encoding of the stylesheet in the xml declaration:
<?xml version="1.0" encoding="iso-8859-1"?>
or use numeric entities for the internation characters. Those seem like
spanish characters, so you should be ok with iso-8859-1 or utf8.
On Tue, 2001-11-20 at 16:32, Jose de Miguel wrote:
> Thanks karl.
>
> My codeline is :
>
> <a href="javascript:if(confirm('�Desea salir de la aplicaci�n?'))
>window.open('index','_top')"
>onMouseOver="window.defaultStatus='';window.status='Salir';return true"><img
>alt='Salir' border='0' src='/images/botones/saliron.jpg'/></a>
>
>
> and the javascript confirm doesn�t work. I�m in a XSL page.
>
> I will try with your solution.
>
> Jose.
> Madrid.
> Espa�a.
>
>
> ----- Original Message -----
> From: Karl �ie
> To: [EMAIL PROTECTED]
> Sent: Tuesday, November 20, 2001 5:08 PM
> Subject: RE: Cocoon2 and Javascript
>
>
> are you placing the javascript in a cdata section?
>
> <SCRIPT>
> <xsl:comment><![CDATA[
> function hahaha() {
> }
> ]]>
> </xsl:comment>
> </SCRIPT>
>
> mvh karl �ie
> -----Original Message-----
> From: Jose de Miguel [mailto:[EMAIL PROTECTED]]
> Sent: 20. november 2001 17:00
> To: [EMAIL PROTECTED]
> Subject: Cocoon2 and Javascript
>
>
> Hi !
>
> I�m developing with Cocoon2 and Tomcat 4.0.1 and I get bad text in the browser
>when I write in, for example, a confirm of Javascript characters like ?, � , etc...
>
> Do you know something about that ????
>
> Can anybody tell me how to solve this problem ????
>
>
> Jose de miguel Jim�nez
> email: [EMAIL PROTECTED]
> Madrid
> (Espa�a)
>
>
--
Sergio Carvalho
---------------
[EMAIL PROTECTED]
If at first you don't succeed, skydiving is not for you
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>