Results 1 to 2 of 2

Thread: french characters

  1. #1
    Join Date
    May 2007
    Posts
    31
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default french characters

    i have a js function that builds up to opening a new mailto window. it works when the message i want to send to the mailto link is in english, but i also need to create a french version of the message. that's where it messes up, opening a new mail window with no message inside.

    what do i have to do to get the french text to work properly? do i need to change the encoding of my page?

    any help or advice is much appreciated. thanks!

  2. #2
    Join Date
    May 2007
    Posts
    31
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    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 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?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •