[PHP] Character Encoding problem

2005-07-21 Thread Regine Velasquez
Whenever I switch the encoding of a page to UTF-8, the characters ñ, ë, ì, û, á, etc., automatically changes to question marks. I've originally set the encoding of a page to ISO-8859-1 using header () function. header ('Content-Type: text/html; charset=ISO-8859-1'); Does anybody know how to

Re: [PHP] Character Encoding problem

2005-07-21 Thread Marco Tabini
On 7/21/05 8:32 AM, Regine Velasquez [EMAIL PROTECTED] wrote: Whenever I switch the encoding of a page to UTF-8, the characters ñ, ë, ì, û, á, etc., automatically changes to question marks. I've originally set the encoding of a page to ISO-8859-1 using header () function. header

[PHP] Character Encoding Problem

2004-02-23 Thread roland
Hi I'm trying to encode text entered into an html form. In dreamweaver, special characters seem to be encoded as #8220; (a curly quote) for example, which I assume is utf-8. Here is my code snippet: htmlentities(html_entity_decode(strip_tags(stripslashes(trim($data, ENT_QUOTES),