Re: Encoding issue with £

From: Date: Tue, 23 Jan 2007 21:56:41 +0000
Subject: Re: Encoding issue with £
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247649@lists.php.net to get a copy of this message
At 5:55 PM +0000 1/23/07, Dave Goodchild wrote:
This may be more of a mysql issue, but I am using php for my app so here goes... I have a fee field in the database, and when users post events they can specify entrance fee in £. In some, not all, of the fields I am getting, for example, £7 rather than £. Is this an encoding issue?
My guess is that it is. There are difference between browsers, OS's, and thus support for multilingual code-points. Not all allow the user to submit those types of characters and worse yet, some allow to them to be submitted incorrectly. As such, if it were me and I wanted a form for the end user to indicate what currency s/her was entering, I would make it a selection control of some type and thereby control the user's input. My $0.02. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#247649) next »