Amaya user interface Manual de Instruções Página 67

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 108
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 66
The Images, Styles and Scripts tab contains:
The field Where to save images allows you to specify the directory where images and objects
have to be saved. This may be a directory on a remote web server. When the Copy Images
button is selected, this field is initialized with the directory of the saved document.
The field Where to save resources allows you to specify the directory where style sheets and
scripts have to be saved. This may be a directory on a remote web server. When the Copy
resources (styles and scripts) button is selected, this field is initialized with the name of the
saved document directory.
Two buttons complete this dialog:
The Save button starts the process of saving the document. If you have chose to save associated
resources too, a list of these resources is displayed and you can choose to remove some
resources from the list: they will not be saved.
When saving to a remote location, check that the http_proxy is not set, or that the proxy server
and the target server are configured to work with the HTTP Put method.
The Cancel button terminates the command without doing anything.
20.4. Saving and characters encoding (charset)
Three standard encodings are considered:
us-ascii is a 7-bit code that represents 96 printable characters (positions 32 through 127
decimal).
iso-8859-1 is a 8-bit code that represents the same characters as us-ascii, at the same
positions, plus 95 additional printable characters, commonly used in various European
languages.
utf-8 is a variable length encoding scheme for the Universal Character Set - UCS (ISO10646
aka Unicode). UCS represents thousands of characters. Note that the 96 first characters have the
same positions in UCS as in us-ascii (and then as in iso-8859-1).
If an XML or HTML document contains a character that is not available in the character set (charset)
available with the encoding, a special representation is required. XML offers two such representations of
characters:
1. Character references represent the position (in decimal or hexadecimal) of the character in the
UCS. For example, the greek letter α (alpha) is represented as α (hexadecimal) or
α (decimal)
2. Entity references use a name to represent a content (in that case a character). For example the
greek letter α is represented as α
Character references may be used in any XML or HTML document, but entity references are allowed
only if the document itself contains a means to resolve the name.
Entity name resolution is provided by the Document type definition which refers to the DTD where
names and their associated contents are defined. Practically, this means that you can use entity references
only if the <!DOCTYPE ...> is present and refers to a DTD that defines the names you use.
By default, Amaya preserves the initial encoding of the document, that is the encoding that was
associated with the document at loading time. You can check this encoding with command Views/
Document info (Charset field). The Save and Save all commands save the document with that
encoding, while the Save As command allows you to choose another encoding (Charset field).
20. Saving and publishing documents
67
Vista de página 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 107 108

Comentários a estes Manuais

Sem comentários