Jump to content

Encoding for Manual is Incorrect


Recommended Posts

The manual is encoded in ISO-8859-1, but your Apache server is configured to report it as UTF-8.

$ telnet www.xenonauts.com 80Trying 216.18.20.7...Connected to www.xenonauts.com.Escape character is '^]'.GET /manual.html HTTP/1.1Host: www.xenonauts.comHTTP/1.1 200 OKDate: Sat, 01 Jun 2013 06:15:31 GMTServer: Apache/2.2.15 (CentOS)Last-Modified: Fri, 04 May 2012 13:29:59 GMTETag: "1803267-2954-4bf35eab8e3c0"Accept-Ranges: bytesContent-Length: 10580Connection: closeContent-Type: text/html; charset=UTF-8

This causes certain symbols to show up as '?' characters rather than the correct character. A quick workaround is to have users manually switch their browser's encoding for the page to ISO-8859-1.

However, the better long term solution is to either change the file encoding to UTF-8, or have Apache correctly report the page as ISO-8859-1.

Edited by Diogenes
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...