We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da7fcb commit 385657aCopy full SHA for 385657a
src/main/scala/scala/xml/XML.scala
@@ -74,6 +74,10 @@ object XML extends XMLLoader[Elem] {
74
* Saves a node to a file with given filename using given encoding
75
* optionally with xmldecl and doctype declaration.
76
*
77
+ * Note: default encoding was ISO-8859-1 (latin1) in pre-1.0.7 scala-xml versions.
78
+ * If your code depends on charaters in non-ASCII latin1 range, specify
79
+ * ISO-8859-1 encoding explicitly.
80
+ *
81
* @param filename the filename
82
* @param node the xml node we want to write
83
* @param enc encoding to use
0 commit comments