invalid byte sequence for encoding "UTF8"

Поиск
Список
Период
Сортировка
От Gary Benade
Тема invalid byte sequence for encoding "UTF8"
Дата
Msg-id TSGSERVERWzUMIa2nXO0000015d@softwareguys.co.za
обсуждение исходный текст
Ответы Re: invalid byte sequence for encoding "UTF8"
Re: invalid byte sequence for encoding "UTF8"
Список pgsql-general
I used shp2pgsql.exe to create an import sql for my gis database.
The resultant sql has data like this in it.INSERT INTO "gis"."sa_area" ("label","type","level",the_geom) VALUES ('MÔRELIG','0x2','2','0106000000010000000');
The Ô is ascii char 212.
This wont import, PSQL returns
ERROR: invalid byte sequence for encoding "UTF8": 0xd452
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client-encoding"

TIA
Gary
 

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