Re: [PHP] Problems with UTF

2006-09-01 Thread mbneto
Hi Peter, I am returning XML from my php script so I should use the charset in my XML header? The database (which holds the data) should be set to utf8 and the same thing in the XML header, right? On 8/28/06, Peter Lauri <[EMAIL PROTECTED]> wrote: Hi, Have you set header('Content-Type: text

Re: [PHP] Problems with UTF

2006-08-31 Thread Curt Zirzow
:: top posted to be consistant:: I would go as far as configuring your default php.ini to send utf-8 as the default charset. Curt. On 8/28/06, Peter Lauri <[EMAIL PROTECTED]> wrote: Hi, Have you set header('Content-Type: text/html; charset=utf-8'); in your php script that you call via AJAX?

RE: [PHP] Problems with UTF

2006-08-28 Thread Peter Lauri
Hi, Have you set header('Content-Type: text/html; charset=utf-8'); in your php script that you call via AJAX? Best regards, Peter PS! I assumed you were not sending any variables with the AJAX request? If so, you would need to do an utf-8 encoding of the variables and then a base64 encoding

Re: [PHP] Problems with UTF

2006-08-28 Thread Michael B Allen
On Mon, 28 Aug 2006 15:57:17 -0400 mbneto <[EMAIL PROTECTED]> wrote: > Hi, > > I have a php based script that is called from a html page via ajax. > Everything runs fine except when I use characters such as รก that ends up > like A! A browser will display text according the the charset specified