/    Sign up×
Community /Pin to ProfileBookmark

pound signs (£) apear as u’s on email

Hi,
I have a mail script. The mail contains some pound signs (£).
Some people are seeing the pounds signs not as pound signs but as ‘u’s, while others see them as pound signs,
how can this be fixed?
thanks

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@jasnjohnJan 28.2004 — Try encoding the page with the following charset by inserting the following above your <body> tag.

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

Anywhere you want the pound sterling sign to appear, use the ASCII code:

&#163; (just proves it works on this forum)

The ASCII code for &#163; is:

& followed immediately by # and then 163;

(I can't write it as just the ASCII as the forum converts it to &#163; )

This should work with any browser, and email client. (the emphasis is on should).

I've a sneeky suspicion that if you use stripslashes() to remove html from the text, it'll pass the ASCII as ASCII, thus, the email client may just see the code instead of the symbol. I've never messed around with this before (perhaps I should), but give it a go.

Perhaps drop a note if it works
Copy linkTweet thisAlerts:
@Ben_RogersJan 28.2004 — actually i think you can just use &amp;amp; for the and sign... &amp;#163; = &#163;
Copy linkTweet thisAlerts:
@jasnjohnJan 29.2004 — Yep, I think you're right.

I wasn't sure if it was only available in certain charsets or not.

just throwing caution to the wind

?
Copy linkTweet thisAlerts:
@Ben_RogersJan 29.2004 — dont you mean you were being cautious?
Copy linkTweet thisAlerts:
@jasnjohnJan 30.2004 — yes ?

Not quite sure what I was thinking when I slipped that one in.

?
Copy linkTweet thisAlerts:
@Ben_RogersJan 30.2004 — maybe you threw caition to the wind just then?
Copy linkTweet thisAlerts:
@myfriendogriApr 18.2007 — Try encoding the page with the following charset by inserting the following above your <body> tag.

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

Anywhere you want the pound sterling sign to appear, use the ASCII code:

£ (just proves it works on this forum)

The ASCII code for £ is:

& followed immediately by # and then 163;

(I can't write it as just the ASCII as the forum converts it to £ )

This should work with any browser, and email client. (the emphasis is on should).

I've a sneeky suspicion that if you use stripslashes() to remove html from the text, it'll pass the ASCII as ASCII, thus, the email client may just see the code instead of the symbol. I've never messed around with this before (perhaps I should), but give it a go.

Perhaps drop a note if it works[/QUOTE]


Just to say thank you for that.

I have a site that has been showing question marks instead of pound signs. I've been getting nowhere fast with eBay Help. After I read your advice, I checked the scripts.

These showed the encoding as ISO-8859-1. When I changed that to UTF-8 the pound signs have come up fine.

Thanks again
×

Success!

Help @damon2003 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...