
You can also use these steps to create a new local document, by specifying the name of a file that
does not exist.
Files browser
A file browser may be displayed in the tools area with Views / Show toolbars / Files. This tool
gives access to all local directories. A simple click allows you to open or close a directory and a
double click on a file name opens the corresponding document.
Document address field
Note that this method works only if you have chosen a profile with the navigation feature.
The address of the current document is displayed at the top of the window. Edit this address to
specify the file name or the URI of the document you want to open and press Enter.
You can also create a new document by typing the name of a document that does not exist yet.
Note: You can click the button on the right side of the document address field to display the list of
the documents you have opened recently. You can then select an address in this list to open the
corresponding document.
Links
By activating a link you load the target document.
Note about character sets
Amaya reads HTML and XHTML documents differently:
• Amaya reads HTML documents by default as ISO-Latin-1 files. If an author does not provide
information about the character set (charset) in the HTTP header or in a meta element, Amaya
considers an HTML document to be encoded in ISO-Latin-1.
• Amaya reads XHTML documents by default as UTF-8 files. If an author does not provide
information about the charset in the HTTP header, in the XML declaration, or in a meta
element, Amaya considers an XHTML document to be encoded in UTF-8.
Because the default charset is different for HTML and XHTML documents, authors often create
documents using the incorrect charset. For example, consider an XHTML document that uses ISO
Latin-1 but does not provide information about the charset. When the XML parser analyzing the
document encounters a sequence of bits that does not match a valid UTF-8 character, the document is
considered to be not well formed. Parsing stops and Amaya displays an error message that proposes
either to reload the document as an HTML document or to show parsing errors. If show parsing errors is
chosen, Amaya displays the detected errors.
Amaya User Manual
14
Comentários a estes Manuais