osm2pgrouting icon indicating copy to clipboard operation
osm2pgrouting copied to clipboard

ERROR: invalid byte sequence for encoding "UTF8": 0xd1

Open uniqby opened this issue 10 years ago • 1 comments

osm2pgrouting/build/osm2pgrouting  -file russia-european-part-latest.osm -conf osm2pgrouting/mapconfig_for_cars.xml

Split ways Creating tables... Nodes table created 2create ways failed: Types table created Way_tag table created Relations table created Relation_ways table created Classes table created Adding tag types and classes to database... Adding relations to database... Adding ways to database... ERROR: invalid byte sequence for encoding "UTF8": 0xd1 CONTEXT: COPY pgroute_ways, line 87620

uniqby avatar May 06 '15 19:05 uniqby

@uniqby What happens if you change the encoding of the database to an encoding that matches Russian characters?, for example for data I get for Mexico, sometimes I need to change the encoding like this: set client_encoding to 'latin1'

cvvergara avatar May 11 '15 04:05 cvvergara