Fix misleading comment.

ExpatParser defaults to UTF-8 if no encoding is specified.
This commit is contained in:
Ken Shirriff
2009-05-25 17:38:40 -07:00
parent 906e6529fc
commit 0b10c8f9ca

View File

@@ -483,7 +483,7 @@ public class RssReader extends ListActivity {
// TODO: switch to sax // TODO: switch to sax
XmlPullParser xpp = Xml.newPullParser(); XmlPullParser xpp = Xml.newPullParser();
xpp.setInput(in, null); // null = parser figures out encoding xpp.setInput(in, null); // null = default to UTF-8
int eventType; int eventType;
String title = ""; String title = "";