LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2003, 09:17 AM   #1
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
PHP wont display £ sign... or is it my editor?


Hi,

I am using KWrite to write my PHP site. I want to put prices of certain items on the site in £ when I put the symbol £ i get the following output:

Quote:
£
Is it my editor putting an extra character in or is this a bug in PHP4?

TIA
 
Old 10-29-2003, 09:30 AM   #2
siphi
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Ubuntu Breezy, Kubuntu Breezy
Posts: 78

Rep: Reputation: 15
Are you using & pound; (without space) or "£" when editing?

Using just the £ symbol will give you £ wheras & pound; will give you £

Last edited by siphi; 10-29-2003 at 09:34 AM.
 
Old 10-29-2003, 05:23 PM   #3
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
Yes you must use proper encoding, for example a space would be & nbsp; etc.

Last edited by _KDF; 10-30-2003 at 12:23 PM.
 
Old 10-30-2003, 01:36 AM   #4
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
Ye, i got it fixed thanks. Apparently you can also use &# 163;
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sign on invisible in gaim - NOT invi after sign on saravkrish Linux - Software 7 09-12-2005 10:55 PM
what is the best php editor edman007 Linux - Software 2 07-05-2005 06:45 AM
php installed but no sign of libphp4.so (apache needs it) unholy Linux - General 6 01-18-2004 05:15 PM
woohoo got internet working but gaim wont sign me on.. iLLuSionZ Linux - Newbie 6 11-14-2003 08:31 PM
PHP Editor djcomplex Linux - Software 7 10-16-2003 08:21 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration