Re: shp2pgsql error under windows

Поиск
Список
Период
Сортировка
От Christoph Moench-Tegeder
Тема Re: shp2pgsql error under windows
Дата
Msg-id ZANsUHGrAqXSeHB7@elch.exwg.net
обсуждение исходный текст
Ответ на shp2pgsql error under windows  (Raivo Rebane <raivore55@gmail.com>)
Список pgsql-general
## Raivo Rebane (raivore55@gmail.com):

> Raivo@DESKTOP-69FUU49 /cygdrive/f/3D-data/Kataster
> 
> $ cat kataster.sql | less
> 
> 
> 
> <FF><FE>S^@E^@T^@ ^@C^@L^@I^@E^@N^@T^@_^@E^@N^@C^@O^@D^@I^@N^@G^@ ^@T^@O^@

That's a BOM and the rest looks like UTF-16 (or UCS-2). You can use
recode (also available in Cygwin) to convert that. You could also use
shp2pgsql in Cygwin and be done with that (Windows is a quite bloated
bootloader for Cygwin, but you do you)).

Regards,
Christoph

-- 
Spare Space



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

Предыдущее
От: Raivo Rebane
Дата:
Сообщение: shp2pgsql error under windows
Следующее
От: Thorsten Glaser
Дата:
Сообщение: Re: DISTINCT *and* ORDER BY in aggregate functions on expressions(!)y