Update make_rst.py
for non-latin texts
#56119
Merged
make_rst.py
for non-latin texts
#56119