Solved

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

Posted on 2011-02-23
5
358 Views
Last Modified: 2012-05-11
what are all the different methods to represent the pound £ English Money symbol
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 34

Accepted Solution

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

Expert Comment

by:LFLFM
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";
0
 
LVL 3

Assisted Solution

by:LFLFM
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 "£"
0
 
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.

0
 

Author Closing Comment

by:rgb192
ID: 34965772
thanks
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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 dynamically set the form action using jQuery.

623 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