Answer the question
In order to leave comments, you need to log in
Why doesn't Russian text work in ubuntu server 18 console?
The essence of the problem is that there is a site written in php. On one of the pages, a python script is called via popen. Parameters with two lines with Russian text are passed to the script. If you output args, then the output will be:
string(1475) "
Namespace(text1='\udcd0\udc92 \udcd0\udca1\udcd0\udcbe\udcd0\udcb2\udcd1\udc84\udcd0\udcb5\udcd0\udcb4\udcd0\udcb5 \udcd0\udcbf\udcd0\udcbe\udcd0\udcbf\ udcd1\udc80\udcd0\udcb8\udcd0\udcb2\udcd0\udcb5\udcd1\udc82\udcd1\udc81\udcd1\udc82\udcd0\udcb2\udcd0\udcbe\udcd0\udcb2\udcd0\udcb0\udcd0\udcbb\udcd0\ udcb8 \udcd1\udc80\udcd0\udcb5\udcd1\udc88\udcd0\udcb5\udcd0\udcbd\udcd0\udcb8\udcd0\udcb5 \udcd0\udc9a\udcd0\udcb8\udcd0\udcb5\udcd0\udcb2\udcd0\udcb0 \ udcd0\udcb2\udcd0\udcbe\udcd0\udcb7\udcd0\udcbe\udcd0\udcb1\udcd0\udcbd\udcd0\udcbe\udcd0\udcb2\udcd0\udcb8\udcd1\udc82\udcd1\udc8c \udcd0\udcbf\udcd0\ udcb5\udcd1\udc80\udcd0\udcb5\udcd0\udcb2\udcd0\udcbe\udcd0\udcb7\udcd0\udcba\udcd0\udcb8 \udcd0\udcb2 \udcd0\udc9a\udcd1\udc80\udcd1\udc8b\udcd0\udcbc' ,text2='\udcd0\udc92\udcd0\udcbb\udcd0\udcb0\udcd1\udc81\udcd1\udc82\udcd0\udcb8 \udcd0\udc9a\udcd1\udc80\udcd1\udc8b\udcd0\udcbc\udcd0\udcb0 \udcd0\udcbf\udcd1 \udc80\udcd0\udcbe\udcd0\udcba\udcd0\udcbe\udcd0\udcbc\udcd0\udcbc\udcd0\udcb5\udcd0\udcbd\udcd1\udc82\udcd0\udcb8\udcd1\udc80\udcd0\udcbe\udcd0\udcb2 \udcd0\udcb0\udcd0\udcbb\udcd0\udcb8 \udcd0\udcbf\udcd0\udcbb\udcd0\udcb0\udcd0\udcbd\udcd1\udc8b \udcd0\udc9a\udcd0\udcb8\udcd0\udcb5\udcd0\udcb2\udcd0 \udcb0 \udcd0\udcb2\udcd0\udcbe\udcd0\udcb7\udcd0\udcbe\udcd0\udcb1\udcd0\udcbd\udcd0\udcbe\udcd0\udcb2\udcd0\udcb8\udcd1\udc82\udcd1\udc8c \udcd0\udcbf \udcd0\udcb5\udcd1\udc80\udcd0\udcb5\udcd0\udcb2\udcd0\udcbe\udcd0\udcb7\udcd0\udcba\udcd0\udcb8')))))
Actually the question is how in such a situation to make the Russian text output normally?
PS: locally everything works without additional settings.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question