Re: Problems importing Unicode

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <matthias(at)cmklein(dot)de>, "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problems importing Unicode
Date: 2004-11-17 11:53:03
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476190@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Well, they were generated by MySQL and I can open them with
> e.g. the Windows Editor Notepad. But I don't know if they are
> actually encoded in UNICODE.
> Since I can open the file with Notepad and read the
> statements, I assume, it is not UNICODE. They look just like
> in the email below.

Windows Notepad handles Unicode just fine, both UTF-16 (labeled Unicode
in notepad) and UTF-8 (labeled UTF-8).
To test, open the file in Notepad, then do "File->Save As". The
"Encoding" dropdown box will default to whatever Notepad detected when
it opened the file. If it's UTF-16 and you need UTF-8, just change the
encoding and save under a different name.

//Magnus

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2004-11-17 12:07:00 Re: OID's
Previous Message Martijn van Oosterhout 2004-11-17 11:49:50 Re: OID's