Fixed a bug with russian symbols
Fixed bug in testcodes with russian symbols