com.opendoorlogistics icon indicating copy to clipboard operation
com.opendoorlogistics copied to clipboard

Character encoding in .odlx file

Open PGWelch opened this issue 9 years ago • 0 comments

Changing an option in the jsprit.odlx file to have 'special' characters - e.g. Näytä kartta (Show map in Finnish), results in the .odlx file not being loadable. The error "Invalid byte 2 of 3-byte UTF-8 sequence " is thrown when loading the XML file (an odlx file is XML). See here http://stackoverflow.com/questions/2421272/invalid-byte-2-of-2-byte-utf-8-sequence

A workaround may be explicitly setting a different character encoding (e.g. not UTF-8) at the start of the .odlx XML file (to test).

PGWelch avatar Feb 02 '16 19:02 PGWelch