Wrong sitepage displaying (codepage?)

Hello all,
My site http://xalmaz.infinityfreeapp.com working fine more than year, a week ago, the page looked normal. Now it look:

When i look files into upload folders, no any changes detected.
Can anyone say why ?

Russian text!!

2 Likes

Yeap. Unfortunally, i can’t post two pictures as newbi on forum (screen before and now, post only now).
And all work fine more than year(and two weeks ago).
Many sites with russian text(and on this hosting) work normal.
Does it illegal now? I something miss?

make sure your original files are saved with UTF-8 encoding and then upload them to the server again

I always add this in the head section but its probably not necessary

<meta charset='UTF-8'>

hopefully this should fix the issue

4 Likes

Thank you for advice. Site is in Win-1251 charset - now must be only UTF8 ? But other sites with win1251 still work - mean, will be force outing as utf-8 ?.. Pity.

UTF-8 is highly recommended, and supported by nearly every moderen computer.

See html - meta charset windows-1252 vs UTF-8 - Stack Overflow

6 Likes

It is Windows 1251 encoding, the InfinityFree servers are based on Linux so you cannot guarantee that it will work.

2 Likes

You could try this:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

UTF-8 has been the standard for many years now, though, and for better support in the long term, it might be better to change your encoding to that.

I had the same thought myself, but then looked it up and found that it also exists in Linux as cp1251.
Completely agree with this in any case, since “existing in Linux” doesn’t necessarily mean “existing in this server”:

Best to use UTF-8.

4 Likes

Thanks all who answer on my case, i think solution already in thread. Naturally, for Linux (and servers) UTF8 - best way (and when the environment will force me to transfer on ux-like OS, of course…).
But how many personal computers(in percentage) work under Linux? For me now Win still more easy/simple/comfortable/familiar, accordingly, UTF8 just inconvenient.
Thanks all one more time, best wishes.

1 Like

90% of the servers use Linux because it works the best with them and there is extra cost for maintaining the Windows license, if you are unhappy and unwilling to use a common format such as UTF-8 then there are Windows servers as option to choose from.

5 Likes

Thanks all very much,
Meta NOT help, but fortunately Notepad easy convert to utf-8, so case successfully closed!

2 Likes

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