Fix misleading comment.
ExpatParser defaults to UTF-8 if no encoding is specified.
This commit is contained in:
@@ -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 = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user