Oct 20, 2005 #1 ptweb Programmer Jul 1, 2005 37 GB DISPLAYING THE £ CURRENCY SIGN ,GIVES ME A ? USING Chr(156).... why is this, I just want to display £ but no joy, any help please PT
DISPLAYING THE £ CURRENCY SIGN ,GIVES ME A ? USING Chr(156).... why is this, I just want to display £ but no joy, any help please PT
Oct 20, 2005 #2 guitardave78 Programmer Sep 5, 2001 1,294 GB I had a similar problem i just made it convert £ signs to £ }...the bane of my life! http://www.fuzzyd.co.uk Upvote 0 Downvote
I had a similar problem i just made it convert £ signs to £ }...the bane of my life! http://www.fuzzyd.co.uk
Oct 20, 2005 #3 xwb Programmer Jul 11, 2002 6,828 GB The £ sign is actually chr(163): not 156. Upvote 0 Downvote
Oct 20, 2005 1 #4 DotNetGnat Programmer Mar 10, 2005 5,548 IN £ should do it... -DNG Upvote 0 Downvote
Oct 20, 2005 Thread starter #5 ptweb Programmer Jul 1, 2005 37 GB How do I use the £ thing... Chr(163) dont work either Gary Upvote 0 Downvote
Oct 20, 2005 Thread starter #6 ptweb Programmer Jul 1, 2005 37 GB chr(163) still gives ? Upvote 0 Downvote
Oct 20, 2005 #7 SatishPutcha Programmer Mar 12, 2002 256 IN Try setting your page charset to UTF-8. Regards Satish Upvote 0 Downvote
Oct 20, 2005 Thread starter #8 ptweb Programmer Jul 1, 2005 37 GB How do you do that? Upvote 0 Downvote
Oct 20, 2005 Thread starter #9 ptweb Programmer Jul 1, 2005 37 GB <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> tried this...still dont work, I cant ? instead of £ Upvote 0 Downvote
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> tried this...still dont work, I cant ? instead of £
Oct 20, 2005 #10 DotNetGnat Programmer Mar 10, 2005 5,548 IN can you show us the code where you display your pound sign... also try SERVER.HTMLEncode() -DNG Upvote 0 Downvote
Oct 20, 2005 Thread starter #11 ptweb Programmer Jul 1, 2005 37 GB <%=chr(163)&tmpArr(money(price), rndArr(i))%> How do I use Server.HtlmEncode? Upvote 0 Downvote
Oct 20, 2005 Thread starter #12 ptweb Programmer Jul 1, 2005 37 GB That did it.. thxs all Server.HTMLEncode(pCurrencySign) Upvote 0 Downvote
Oct 20, 2005 #13 DotNetGnat Programmer Mar 10, 2005 5,548 IN cool...glad to be of help... -DNG Upvote 0 Downvote