I replaced the code and it still didn't work. In another forum by the makers of the blog program, they said I have "faulty server settings which force all browsers to use the wrong encoding." Is there a way to change it so my server doesn't do this? The blog "is in UTF-8 encoding so that it can accomodate all languages, not just English and those of W. Europe, and there is no practical way to change this."
Is there a way to create a .htaccess file? If so, where do I put it based on the webFTP through ISPConfig? This is what I was told in the other forum:
Web servers should not be set up this way: They should let the code inside the page determine what encoding the browser is set to. If the people running the server will not change it, you may still be able to set up a separate .htaccess file for your space .
A typical entry in an .htaccess file would be "AddDefaultCharset UTF-8" or "AddCharset UTF-8 .html" or possibly "AddDefaultCharset Off" (no quotes). This file should be located at the top level of your space on the server (not inside a public_html folder if there is one). Files with a . before the name are often invisible, so you may need to select "show hidden files" or a similar setting to see them.
If your server uses XSHTTPD, you should edit the ".charset" file to contain the line: UTF-8.
A good program for making/editing such files is TextWrangler.
If you cannot have your own .htaccess file (some servers do not allow this), the only practical solution may be to publish your page someplace else which follows the proper practice, or use a different web creation program where you can set the encoding to Latin-1.
Last edited by m u r; 17th March 2006 at 04:08.
|
Recent comments
7 hours 37 min ago
14 hours 18 min ago
18 hours 8 min ago
19 hours 47 min ago
1 day 4 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 18 hours ago
1 day 22 hours ago
1 day 22 hours ago