Afficher un message
Vieux 03/03/2008, 05h18   #2
Ken Ford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: javascript & html entities

var body_message = "\xe9";

http://www.miakinen.net/vrac/charsets/

--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"NickTheNameless" <webforumsuser@macromedia.com> wrote in message
news:fqfcm1$2nn$1@forums.macromedia.com...
>i am having such trouble with this, i don't know why.
>
> my document is encoded at iso-8859-1, and the below code does not work
> properly.
>
> var email="whatever@whereever.com"
> vaq subject="Javascript Aggravates Me"
> var body_message="&eacute;"
> var mailto='mailto:'+email+'?subject='+subject+'&body= '+body_message;
> win = window.open(mailto,'emailWindow');
>
> when it opens in a new mail window it display &eacute; not the accented e
> i
> want to be displayed.
>
> however, down in the body of my page if i put &eacute; it displays the
> accented e.
>
> what the hell am i doing wrong?
>


  Réponse avec citation
 
Page generated in 0,04472 seconds with 9 queries