Pound sign displaying problem in outlook in asp.net

659 Views Asked by At

I want to show some amount in outlook with £ sign on selectindexchanged even of a dropdownlist client side.

Amount is displaying with sign in Win XP IE 7,8 but not in Windows 7 IE as given below:

enter image description here

HTML:

if($(this[this.selectedIndex]).val() == "A")
{
    var mailsubject="New win";
    var toEmail="[email protected]";
    var vSign = "Amount: £" + $(this).parent().siblings()[4].nextSibling.all[0].value;
    var mailbody = escape(vSign); 
    window.open("mailto:"+ toEmail + "?subject=" + mailsubject + "&body=" + mailbody);
}

Does anyone know how to do it?

2

There are 2 best solutions below

1
On BEST ANSWER

we got the solution.

we have to enable checkbox for "Enable UTF-8 support for mail to:protocol" in

Outlook --> Tools --> Options --> Mail Format --> International Options --> Internet Protocols

1
On

Try replacing the pound sign with its HTML entity:

£

And don't you mean JavaScript / jQuery, and not ASPX?