summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-01-05 20:23:14 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-01-05 20:23:14 +0000
commitd2443e8948ac237d02df51810d74343ae3a0551f (patch)
tree492a091b1f60dfbafa665b7fa6a87b2e4d7c9507 /src/pugixml.hpp
parente516c967f91f941f69bf7e44b937bd8e194de4d6 (diff)
Document saving improvements - no escaping is done for ' character or for symbols in second half of ASCII table; format_utf8 is therefore gone
git-svn-id: http://pugixml.googlecode.com/svn/trunk@95 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 5ce3fcd..5276447 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -175,20 +175,11 @@ namespace pugi
const unsigned int format_indent = 0x01;
/**
- * This flag determines how the non-printable symbols are written to output stream - they are
- * either considered UTF-8 and are written as UTF-8 character, escaped with &#...;, or they are
- * considered to be ASCII and each ASCII character is escaped separately.
- *
- * This flag is on by default.
- */
- const unsigned int format_utf8 = 0x02;
-
- /**
* This flag determines if UTF-8 BOM is to be written to output stream.
*
* This flag is off by default.
*/
- const unsigned int format_write_bom = 0x04;
+ const unsigned int format_write_bom = 0x02;
/**
* If this flag is on, no indentation is performed and no line breaks are written to output file.
@@ -196,13 +187,13 @@ namespace pugi
*
* This flag is off by default.
*/
- const unsigned int format_raw = 0x08;
+ const unsigned int format_raw = 0x04;
/**
* This is the default set of formatting flags. It includes indenting nodes depending on their
- * depth in DOM tree and considering input data to be UTF-8.
+ * depth in DOM tree.
*/
- const unsigned int format_default = format_indent | format_utf8;
+ const unsigned int format_default = format_indent;
// Forward declarations
struct xml_attribute_struct;