I
I
Ilya Dyadenchuk2021-05-23 20:04:35
Python
Ilya Dyadenchuk, 2021-05-23 20:04:35

What should I do if, after obfuscation (pyarmor) of the file, there are some signs instead of Cyrillic?

What should I do if, for example, I have a code: and after obfuscating the code using the "pyarmor" module: instead of
print('Привет, мир!)
pyarmor obfuscate main.py

Hello World!
some symbols:
Привет, мир!
.
Thanks to everyone who posted solutions!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfemidi, 2021-05-23
@locketbreeze

Encoding changed:
[[email protected] ~]$ echo "Привет, РјРёСЂ!" | iconv -f utf8 -t windows-1251
Hello world!
[[email protected] ~]$
Initially, lines should be kept not in WIN1251, but in UTF-8. Then there will be no problems. Another thing is how to painlessly remove them in a plunger ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question