From 10301b2e34d49be00837b1f2264d5a9d20bcf783 Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 21 Nov 2007 17:13:44 +0000 Subject: [PATCH] format change and note about encoding --- xml/src/processing/xml/XMLElement.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/xml/src/processing/xml/XMLElement.java b/xml/src/processing/xml/XMLElement.java index 292b7e4c2..780e1000d 100644 --- a/xml/src/processing/xml/XMLElement.java +++ b/xml/src/processing/xml/XMLElement.java @@ -65,6 +65,9 @@ import processing.core.PApplet; * sketch. As such, this is not a full-featured library for handling XML data. * For those who need it, more sophisticated libraries are available, and there * are no plans to add significant new features to this library. + *

+ * The encoding parameter inside XML files is ignored, all files are + * parsed with UTF-8 encoding (as of release 0134). * * import processing.xml.*; * @@ -494,10 +497,10 @@ public class XMLElement public XMLElement(String s) { try { - parseString(s); - } catch (XMLParseException e) { - e.printStackTrace(); - } + parseString(s); + } catch (XMLParseException e) { + e.printStackTrace(); + } }