Hola
You can use:
var simboloEuro = '\u20AC';
document.write("128 " + simboloEuro ) ;
also for browser that support Html 4.0 there is a macro: € but
is not valid for IE4, I use document.write( '\u20AC')
Pierre-Yves Saumont wrote:
> Bonjour,
>
> Browser can only display characters that belong to standard encoding they are aware
>of. Even when all new browsers will be able to display the euro character, older ones
>will not. To be sure that all clients will display your pages correctly, the best
>solution, in my opinion, is to use an image. It's what we have done on our site
>(www.volgadif.com) and it looks quite good !
>
> Pierre-Yves
>
> -----Message d'origine-----
> De : A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]De la part de
> Claude HONNORE
> Envoyé : mercredi 16 mai 2001 16:31
> À : [EMAIL PROTECTED]
> Objet : How to generate the caractére Euro € ...?
>
>
> Bonjour
> I don't succeed to write in a browser from a servlet the signe euro €
> In my editor I see the sign €, but the string "128 €" for exemple is not
> well interpreted by the browser ??
>
> How to do that ??
>
> Claude H
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html