Re: Encoding issue with £

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux