R
R
rinatoptimus2021-10-04 15:55:15
PHP
rinatoptimus, 2021-10-04 15:55:15

How to change htaccess file encoding?

In the htaccess file, Cyrillic (most likely it is Cyrillic) is displayed as question marks.
The site code shows charset="windows-1251"
Opened via Notepad:
encodings - convert to utf8 - did not help.
I tried to change it in Visual studio code - it did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Anton, 2021-10-04
@Fragster

notepad++ -> Encodings -> Cyrillic -> Windows 1251
No need to convert. You just need to change the display.
Well, there are always tools like https://2cyr.com/decode/?lang=ru or https://www.artlebedev.ru/decoder/advanced/

S
Stalker_RED, 2021-10-04
@Stalker_RED

There are online services or individual programs (Stirlitz, for example) that can try to "guess" the encoding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question