use encoding cp1251=>Filter=>1; print "here is russian string, which just work, despite its not utf-8";