dev/python/UTF8to1251table.py

9 lines
150 B
Python

# -*- coding: cp1251 -*-
for i in range(0,256):
c=unicode(chr(i),"koi8-r")
c.encode("UTF-8")
for i in range(0,128):
print i," "