L
L
ldmitriy2018-04-20 12:28:13
PHP
ldmitriy, 2018-04-20 12:28:13

In what encoding will the browser process the page received from the server?

If encoding is not specified in header()
If encoding is not specified in .htaccess
If encoding is not specified in meta charset
And another question, what is the encoding priority of the three options above?
Like this: header > .htaccess > meta charset?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mysterion, 2018-04-20
@Mysterion

If encoding is not specified in header()
If encoding is not specified in .htaccess
If encoding is not specified in meta charset
The web server has a default encoding.
htaccess -> header() -> meta charset.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question