Re: HELP!!!! UNICODE problem

From: Dani Mezher <dany(dot)mezher(at)fi(dot)usj(dot)edu(dot)lb>
To: Dani Mezher <dany(dot)mezher(at)fi(dot)usj(dot)edu(dot)lb>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: HELP!!!! UNICODE problem
Date: 2004-04-28 19:08:02
Message-ID: 5F017F18-9947-11D8-AD12-000A95C4FBC6@fi.usj.edu.lb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Silly me... I forgot that the header in PHP was sent using the "header"
function. When I set the charset to utf-8, it worked perfectly.

Thanks
Dani

On Apr 27, 2004, at 10:54 AM, Dani Mezher wrote:

> I added the following line in the head section of my html
>
> <DEFANGED_meta http-equiv="Content-Type" content="text/html;
> charset=utf-8">
> but it still doesn't work. Actually, when I type arabic letters the
> query executes but I get question marks instead of arabic text. French
> characters
> generate the error.
>
> I installed a previous web server on my Mac OSX and it works with
> french/arabic/english without any kind of specification of the
> document encoding.
>
> Regards
> Dani
>
> On Apr 26, 2004, at 7:44 PM, Christopher Kings-Lynne wrote:
>
>>
>>> ==============
>>> update classe set code='MATE',description='MathA533;matiques
>>> El&#65533;mentaires',cycle
>>> ='SEC',classesuperieure=NULL,info=NULL where code='MATE'
>>> ==============
>>
>> That's happening because you have not correctly specified the page
>> encoding in the HTML page. So, Internet Explorer converts the
>> entities badly...
>>
>> Chris
>>
>>
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 5: Have you checked our extensive FAQ?
>>
>> http://www.postgresql.org/docs/faqs/FAQ.html
>>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Joolz 2004-04-29 07:07:16 MD5 in pg and php
Previous Message Ângelo Marcos Rigo 2004-04-28 00:05:54 Re: Report Generator