# Content

org.openoffice.da.writer2xhtml.oxt/Configuration/General.xhp
General
Use this page to define general technical aspects of the generated HTML documents.
Choose Tools - Options - Writer2xhtml - General
General HTML settings
Do not include DOCTYPE
Check this if you do not want to not include the !DOCTYPE declaration in the converted document.
The !DOCTYPE is required for a valid HTML document: This option should only be used if you need to process the document further.
Encoding
Select the character encoding to use for the HTML document. Currently supported encodings are UTF-8 (recommended), UTF-16, ISO-8859-1 and US-ASCII. Characters not supported by the encoding are exported as numeric character entities.
Add Byte Order Mark (BOM)
Check this to include a BOM (Byte Order Mark) to the HTML document (UTF-8 only). Normally this is not needed if you use UTF-8 encoding, but it may be required in rare cases.
Numeric character entities
Select how to export numeric character entities. You can use either hexadecimal or decimal numbers. This is not relevant if you use UTF-8 or UTF-16.
Use named character entities
Check this to use named character entities as defined by (X)HTML. If you export to HTML+MathML, also named MathML entities will be used.
Use "pretty printing"
Check this to use "pretty print" (using indentations and line breaks) in the HTML output.