Fix UTF-8

This commit is contained in:
Victor Shcherb 2012-08-29 23:31:53 +02:00
parent 25f993b517
commit 6fde8a0153

View file

@ -336,7 +336,7 @@ public class GPXUtilities {
format.setTimeZone(TimeZone.getTimeZone("UTC"));
try {
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>();
boolean extensionReadMode = false;
parserState.push(res);