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