International characters not displayed

Website URL

belcanto.great-site.com

Error Message

Not Applicable (I get no error message)

Other Information

When accessing the above InfinityFree website, a is displayed wherever Non-English characters (e.g. French vowels with accents) appear in my ‘index.html’ file.
Curiously enough:

  • Using both Firefox and Chrome browsers, the ‘index.html’ local copy is correctly displayed in my computer.
  • Hebrew text is displayed correctly

I think I see the problem: the file is saved with the Windows-1252 charset (and also the website is on the great-site.net subdomain, not on the .com version as there it redirects to another ad parking service). Make sure to save it as UTF-8 on Word (and also set the charset to UTF-8 on the HTML document itself) if you want to show them, then upload your website again.

6 Likes

My good old big index.html file was produced using Microsoft Word. It grew bigger and bigger through the years, and, as you say it had charset=Windows-1252.
I tried to modify using Microsoft Word, to force it to use charset=utf-8.
That didn’t work.
I used Microsoft Word again to start a new index.html from scratch, slowly adding text. And OOOPS! The text was saved by Word as charset=utf-8 and now all is well.
Miracles happen.

Please don’t use MS word for code writing. It’s a rich text editor, and nowhere near an IDE. Even something like notepad would be a much better choice.

Look into software that’s meant for writing code, something like notepad++ or sublime.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.