Problems with £ (pound) signs

Hi - I have a CActiveForm that has a couple of text fields where I’m expecting that users might often want to enter £ (pound) signs. When I test this, the pound signs are being saved in the database as questions marks (?).

I’m sure this probably has something to do with character sets but I don’t know enough to begin to formulate a plan for solving it.

Anybody got any idea?



Hi Gordon - Have you tried just changing the content type to UTF-8 in the template?


	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />


Just tried it and that worked fine. Thanks very much.



No problem. I get the impression this problem was starting to drive you mad.

Yes it was. But I’m feeling much better now.

Hey is it me or the previous messages are all of them from a single member?

Well bennouna I was just about to ask the same question.