A
A
Alexander2016-02-11 20:39:41
JavaScript
Alexander, 2016-02-11 20:39:41

How to fix wrong encoding?

Uploaded a phaser js game to the main wordpress folder.
The folder is located in the main directory, in the same place as /wp-content and others.
Everything is good on the local server, but when you call the game from the site, Cyrillic fonts are not displayed correctly.
How to fix it? utf-8 encoding is written in the game index file, I also added a rule to xtaccess, but it did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Arutyunov, 2016-02-11
@aleksand44

File encoding in utf-8?
Did you add ? to htaccess AddDefaultCharset UTF-8?
The server returns the page with what headers ( prntscr.com/a1yfee )?

A
Anton Ulanov, 2016-02-11
@antonsr98

try resaving the files in the encoding you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question