P
P
Platon Goldenberg2021-06-13 11:44:04
JavaScript
Platon Goldenberg, 2021-06-13 11:44:04

Why are Cyrillic characters not recognized when opening a js file in a browser?

Here is this file loverest.site/js/googleforms.js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2021-06-13
@SmartestPro

Because the server does not return the header with the encoding.
Given to Content-Type: application/javascript
Nada

Content-Type: application/javascript; charset=utf-8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question