Re: Posgresql to MSsql encoding problem

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Posgresql to MSsql encoding problem
Дата
Msg-id b42b73150910090611h306942e1jefe8de179e31a34c@mail.gmail.com
обсуждение исходный текст
Ответ на Posgresql to MSsql encoding problem  (Pedro Doria Meunier <pdoria@netmadeira.com>)
Список pgsql-general
On Fri, Oct 9, 2009 at 6:39 AM, Pedro Doria Meunier
<pdoria@netmadeira.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi All,
>
> I have this PHP script that simply dumps (inserts) data from a
> Postgresql server to a customer's M$SQL server.
>
> The database in the PGSQL server is UTF-8 encoded where the M$SQL
> database uses LATIN1.

why can't you set the client encoding?  php should be able to handle
latin1 and send it to mssql right?  if you can't do it automatically
there is always iconv.

merlin

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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Best data type to use for sales tax percent
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Posgresql to MSsql encoding problem