what are all the different methods to represent the pound £ English Money symbol

Posted on 2011-02-23
Last Modified: 2012-05-11
what are all the different methods to represent the pound £ English Money symbol
Question by:rgb192
  • 2
  • 2
LVL 34

Accepted Solution

Beverley Portlock earned 125 total points
ID: 34965262
The safest to use is the HTML entity £

Expert Comment

ID: 34965274
just type it up: £
example: echo "this costs £10.20)";
or use the ascii code: 156
echo "this costs " . chr(156) . "10.20";

Assisted Solution

LFLFM earned 125 total points
ID: 34965292
oh sorry, its ascii 163
bportlock is correct... you can use "£"
also,you can use html ascii as "£"
LVL 34

Expert Comment

by:Beverley Portlock
ID: 34965314
@LFLFM - using char 156 is OK until somebody uses a different character set either in MySQL, the browser or on their computer. That's why there is an HTML entity to represent this character that will render correctly in all situations.


Author Closing Comment

ID: 34965772

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now