Fix UTF-8
This commit is contained in:
parent
25f993b517
commit
6fde8a0153
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ public class GPXUtilities {
|
||||||
format.setTimeZone(TimeZone.getTimeZone("UTC"));
|
format.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||||
try {
|
try {
|
||||||
XmlPullParser parser = Xml.newPullParser();
|
XmlPullParser parser = Xml.newPullParser();
|
||||||
parser.setInput(new InputStreamReader(f)); //$NON-NLS-1$
|
parser.setInput(new InputStreamReader(f, "UTF-8")); //$NON-NLS-1$
|
||||||
Stack<GPXExtensions> parserState = new Stack<GPXExtensions>();
|
Stack<GPXExtensions> parserState = new Stack<GPXExtensions>();
|
||||||
boolean extensionReadMode = false;
|
boolean extensionReadMode = false;
|
||||||
parserState.push(res);
|
parserState.push(res);
|
||||||
|
|
Loading…
Reference in a new issue