Display of characters in HTML pages

Publication of the HTML file

In order to understand the display problems, the user must have in mind the circuit that an HTML file follows in order to be published.

-1- Creating/Saving with the web creation software

The web creation software or the text editor saves the files with a specific encoding and with or without 'Byte Order Mark' (or BOM).

These parameters usually can be modified through the software preferences.

The default encoding is usually Windows-1252 or CP1252 for Windows and UTF-8 for Linux.

We recommend the configuration of the editor in order to save text files using the UTF-8 code and with 'Byte Order Mark' (BOM) when possible.

If the web development workstation and the XTEND server are used with Windows, the user can used the CP1252, ISO-8859-1, ANSI and UTF-8 encodings.

If the web development workstation and the XTEND server are used with different OS, we strongly recommend the UTF-8 encoding for all text files (html, js, css...) from the HTML project because the XTEND server can detect it without the BOM.

-2- Uploading files on the X3 server

The upload is usually carried out via FTP.

Check that the FTP transfer type is binary in order to preserve the the content of the file.

It strongly recommended to not modify directly the files's content on the X3 server.

-3- Files reading by the XTEND server via HTTP

The XTEND server determines the encoding of the file according to the following procedure:

1. BOM reading

2. Search for a UTF-8 sequence

3. Configuration parameter xtend.server.gensetup.defcharset (by default, CP1252)

4. Default encoding of the platform

Resolution

If the accented characters are not displayed, it means that the file does not have a BOM and is not encoded in UTF-8, CP1252 or ISO-8859-1, which is not very usual.

In that case, the user should:
  • configure the editor in order to add the BOM
  • or know the encoding of the files (for instance, via the 'Format' menu of notepad++) and tnter the xtend.server.gensetup.defcharset parameter with this encoding.

The XTEND application does not answer

The HTTPS port does not work

Check the server configuration.

The XTEND application does not answer

1. Check the following URL:
http://host:port/xtend/page?site=Site&fldr=Dossier&sol=Solution&lang=Langue

2. Check the port number
Defined in the server configuration

3. Check that the X3 folder has been published on the X3WEB server

4. Check that the site is published.

5. Process a complete validation of the site