added russian char-code detection