Encoding problem with splitter

Running splitter I get an error related with encoding: java -Xmx750M -jar splitter.jar ../JOSM/peninsula.osm Error opening or reading file com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence. Total time 37s Any hint? Cheers Carlos

Running splitter I get an error related with encoding:
java -Xmx750M -jar splitter.jar ../JOSM/peninsula.osm Error opening or reading file com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence. Total time 37s
Any hint?
Seems to be a malformed byte in a single label name. The splitter tries to read a UTF8 encoded string, where a multibyte character occurs, which could not be transfomed to a character. Have you tried to download the osm file again?

Johann Gail escribió:
Running splitter I get an error related with encoding:
java -Xmx750M -jar splitter.jar ../JOSM/peninsula.osm Error opening or reading file com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 2 of 3-byte UTF-8 sequence. Total time 37s
Any hint?
Seems to be a malformed byte in a single label name. The splitter tries to read a UTF8 encoded string, where a multibyte character occurs, which could not be transfomed to a character. Have you tried to download the osm file again?
I downloaded the same area from geofabrik and now it worked. Thanks Carlos
participants (2)
-
Carlos Dávila
-
Johann Gail