title = u'\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435' print title convertedtitle = title.encode('koi8-r') print convertedtitle