Re: Inserting greek letters

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Inserting greek letters
Дата
Msg-id 20041126153127.GD26060@svana.org
обсуждение исходный текст
Ответ на Re: Inserting greek letters  (Adam Witney <awitney@sghms.ac.uk>)
Список pgsql-general
On Fri, Nov 26, 2004 at 03:16:25PM +0000, Adam Witney wrote:
>
> Hi Martijn, thanks for your quick reply...
>
> > As for PHP, you need to have the browser and PHP agree on what
> > character set they're going to use. Then you set the client encoding
> > appropriately and PostgreSQL will make sure you get the information you
> > expect.
>
> Im not sure, where do I set the client encoding?

Execute the command:

SET CLIENT_ENCODING = <whatever PHP/the web browser is using>

Maybe:

Latin1
Latin9
UTF-8
Windows1238

You need to configure one, don't ask me how though, I don't know PHP or
HTML.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Adam Witney
Дата:
Сообщение: Re: Inserting greek letters
Следующее
От: Cheng Shan
Дата:
Сообщение: Errors when deleting cords and droping table at the same time