php mysql flex unicode
- by JonoB
I have a problem with saving the £ symbol to a mysql database.
I am running a flex front end, with a php + mysql backend
When I save a record from flex, the string gets sent to the server as "This amount is £10"
php views the string as above, and when it gets saved into the DB, it gets saved as "This amount is £10". My understanding is that this is correct based on MySQL or PHP is appending a  whenever the £ is used
I now retrieve the above record, and it gets sent to flex as "This amount is £10". Flex correctly displays this in a textarea as "This amount is £10"
I change another field in the same record in flex, and re-save the transaction. The string now gets sent to the server as "This amount is £10"
The record is now saved into the DB as "The amount is £10". Each time the record is re-saved, this effect snowballs.
Thanks for any advice you can give.