Wählen Sie Ihre Sprache:

<we:charset>

Since version: 3.0.0.0 | Requires endtag: yes

Description

This tag generates a statement which defines the character set of the finished page. For german pages, for example, the charset "ISO-8859-1" is usually used. This tag is to be used within the meta-tags of the HTML-page.

Attributes

defined

Default value: - | since version: 3.0.0.0 | required: no

Set this attribute to the commaseparated charsets which are selectable.

Allowed values:

  • ISO-8859-1
  • ISO-8859-2
  • ISO-8859-3
  • ISO-8859-4
  • ISO-8859-5
  • ISO-8859-6
  • ISO-8859-7
  • ISO-8859-8
  • ISO-8859-9
  • ISO-8859-10
  • ISO-8859-11
  • ISO-8859-13
  • ISO-8859-14
  • ISO-8859-15
  • UTF-8
  • Windows-1251
  • Windows-1252

xml

Default value: - | since version: - | required: no

Setting this attribute to "true" generates code conforming to the XHTML standard. Leaving it unset or setting it to "false" generates HTML code.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:charset [defined="ISO-8859-1|ISO-8859-2|ISO-8859-3|ISO-8859-4|ISO-8859-5|ISO-8859-6|ISO-8859-7|ISO-8859-8|ISO-8859-9|ISO-8859-10|ISO-8859-11|ISO-8859-13|ISO-8859-14|ISO-8859-15|UTF-8|Windows-1251|Windows-1252"] [xml="true|false"] [cachelifetime="attribute"]> ... </we:charset>

Examples

Example #1

<we:charset defined="UTF-8">UTF-8</we:charset>