Tom Lane wrote:"Dario V. Fassi" <[EMAIL PROTECTED]> writes: Yes you are right , the original data come from a DB2 with CodePage IBM-850 and was inserted without complains in a Postgres 7.3.6 with SQL_ASCII. Now we are in a Jail , because IBM-850 , isn't WIN, isn't ISO-xx , isn't no one postgresql's encoding. So when in change via pg_databases the encoding , 8 bits characters become garbage. More even if we accept this garbage chars and we set encoding to e.g. ISO-8859-1 it's impossible go to a UNICODE because this garbage chars are invalid in client's encoding , so they are reject (in translation process as invalid unicode chars). We are in a big problem, and the only way out I can imagine is fix the data by hand :-! . Dario, |
- Re: [SQL] [JDBC] [ADMIN] Migrate postgres databases from ... Dario V. Fassi
- Re: [SQL] [JDBC] [ADMIN] Migrate postgres databases ... Tom Lane
- Re: [SQL] [JDBC] [ADMIN] Migrate postgres databa... Dario V. Fassi
- Re: [SQL] [JDBC] [ADMIN] Migrate postgres databases ... Peter Eisentraut
