[FX.php List] encode problem?

Roger Price rp272 at cam.ac.uk
Wed Oct 8 11:33:16 MDT 2008


Roger

I've checked that the 'sending page is using utf-8 and have tried adding the following tp the top of my PHP 'action' page but still no luck.

header('content-type: text/html; charset: utf-8');

Roger




From: Roger Moffat 
Sent: Wednesday, October 08, 2008 6:02 PM
To: Roger Price ; FX.php Discussion List 
Subject: Re: [FX.php List] encode problem?




On Oct 8, 2008, at 12:55 PM, Roger Price wrote:


  An 'action' page (written wholly in PHP) which updates a FileMaker database has until now been working fine.

  It now returns am error 958 when '£' symbol (British Pound) is entered into the text field  to be updated. This is being encoded as '%A3' and causes the update to fail. Elsewhere in an FCKedit field the '£' is encoded as 'pound%3B' which works OK.

  I know that this must be an encode problem but how do I make this work please? 


Is the charset of the page set to UTF-8?


It needs to be for this to work correctly I believe.


Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20081008/12d84d49/attachment.html


More information about the FX.php_List mailing list