Changeset 32909 in osm for applications/editors/josm/plugins/seachart/src/s57/S57dat.java
- Timestamp:
- 2016-09-03T16:52:05+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57dat.java
r32907 r32909 3 3 4 4 import java.io.UnsupportedEncodingException; 5 import java.nio.charset.StandardCharsets; 5 6 import java.util.ArrayList; 6 7 import java.util.Arrays; … … 378 379 buf[buf.length-1] = 0x1e; 379 380 int flen = buf.length - offset; 380 index.add(new Index(sfparams.field.toString().getBytes(), flen, offset)); 381 index.add(new Index(sfparams.field.toString().getBytes(StandardCharsets.UTF_8), flen, offset)); 381 382 maxlen = (flen > maxlen) ? flen : maxlen; 382 383 offset += flen;
Note:
See TracChangeset
for help on using the changeset viewer.