Обсуждение: Re: unicode error on win32 Was: Re: pgmonitor

Поиск
Список
Период
Сортировка

Re: unicode error on win32 Was: Re: pgmonitor

От
"Magnus Hagander"
Дата:
See http://www.postgresql.org/docs/faqs.FAQ_windows.html#2.6.

//Magnus

> -----Original Message-----
> Sent: Tuesday, August 02, 2005 1:11 PM
> To: pgsql-general@postgresql.org
> Subject: Re: unicode error on win32 Was: Re: [GENERAL] pgmonitor
>
> I use a database with UNIBASE encoding too. Writing strings
> in unicode with german vovels does not work. We access the
> database via the ODBC driver.
>
> What kind of documentation do you mean with You may check
> your documentation ?
>
> Best regards,
> Josef Springer
>
> Tino Wildenhain wrote:
>
>
>     Am Montag, den 01.08.2005, 16:19 -0600 schrieb YL:
>
>         i want to list non-system tables with psql and
> get the following error. any
>         alternatives? Thanks.
>
>         EPost-# \dt
>         ERROR:  invalid byte sequence for encoding
> "UNICODE": 0xed
>
>         my database used UNICODE as the encoding. and
> the OS is win2k pro wich
>         simplified chinese
>         as default language.
>
>
>     Dont steal threads by just answering to an unrelated e-mail
>     from the list!
>
>     To your question: afaic the win32 port currently has some issues
>     with the right support of unicode. You may check your
> documentation.
>     Do you think its a good idea to actually name objects
> in the database
>     in a foreign encoding? I'd stick to english language
> names here because
>     it makes chatting about problems/hints much more easy
> on mailinglists.
>
>
>
> --
>
>
> mit freundlichen Grüssen,
> Josef Springer
> (Geschäftsleitung)
>
>   -- the software company --
>
> Orlando-di-Lasso Str. 2
> D-85640 Putzbrunn
>
> Tel.     ++49(0)89 600 6920
> Fax     ++49(0)89 600 69220
> mailto     Josef.Springer@joops.com
> <mailto:Josef.Springer@joops.com>
> Website     http://www.joops.com
>
>

Re: unicode error on win32 Was: Re: pgmonitor

От
Josef Springer
Дата:
Hi Magnus,

the docmentation does not realy help me !

Client: Win2k, german language settings, SET client_encoding TO 'UNICODE'
Server: Win2k, german language settings, database with UNICODE encoding

I use PostgreSQL via ODBC and want to write and read strings containing vovels.

I have read in the mailing lists, using UNICODE for the database works ??!??. 
I have tried all other/many encoding combinations for server and client allready, but nothing works !

Magnus Hagander wrote:
See http://www.postgresql.org/docs/faqs.FAQ_windows.html#2.6.

//Magnus

-----Original Message-----
Sent: Tuesday, August 02, 2005 1:11 PM
To: pgsql-general@postgresql.org
Subject: Re: unicode error on win32 Was: Re: [GENERAL] pgmonitor

I use a database with UNIBASE encoding too. Writing strings
in unicode with german vovels does not work. We access the
database via the ODBC driver.

What kind of documentation do you mean with You may check
your documentation ?

Best regards,
Josef Springer

Tino Wildenhain wrote:


Am Montag, den 01.08.2005, 16:19 -0600 schrieb YL:

i want to list non-system tables with psql and
get the following error. any
alternatives? Thanks.

EPost-# \dt
ERROR: invalid byte sequence for encoding
"UNICODE": 0xed

my database used UNICODE as the encoding. and
the OS is win2k pro wich
simplified chinese
as defau lt language.


Dont steal threads by just answering to an unrelated e-mail
from the list!

To your question: afaic the win32 port currently has some issues
with the right support of unicode. You may check your
documentation.
Do you think its a good idea to actually name objects
in the database
in a foreign encoding? I'd stick to english language
names here because
it makes chatting about problems/hints much more easy
on mailinglists.



--


mit freundlichen Grüssen,
Josef Springer
(Geschäftsleitung)

-- the software company --

Orlando-di-Lasso Str. 2
D-85640 Putzbrunn

Tel. ++49(0)89 600 6920
Fax ++49(0)89 600 69220
mailto Josef.Springer@joops.com
<mailto:Josef.Springer@joops.com>
Website http://www.joops.com



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

--

mit freundlichen Grüssen,
Josef Springer
(Geschäftsleitung)

 -- the software company --

Orlando-di-Lasso Str. 2
D-85640 Putzbrunn

Tel.++49(0)89 600 6920
Fax++49(0)89 600 69220
mailtoJosef.Springer@joops.com
Websitehttp://www.joops.com

Вложения