ahs10 Posted March 2, 2008 Share Posted March 2, 2008 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="é" var mailto='mailto:'+email+'?subject='+subject+'&body='+body_message; win = window.open(mailto,'emailWindow'); when it opens in a new mail window it display é not the accented e i want to be displayed. however, down in the body of my page if i put é it displays the accented e. what the hell am i doing wrong? Quote Link to comment Share on other sites More sharing options...
optikalefx Posted March 4, 2008 Share Posted March 4, 2008 well for one you spelled var wrong for two you dont have semi colons after each line and for three the accented e is not é better off convering an character number for that one Quote Link to comment Share on other sites More sharing options...
haku Posted March 4, 2008 Share Posted March 4, 2008 semi-colons are optional in javascript. I don't use them at all myself - its extra unnecessary code. The accented i: í or í Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.