f = codecs.open(doc, 'r', "windows-1251")
text = f.read()
text = unicode(text)
words = text.split()
print words
на компьютере Win7 x64 и python2.6
f = codecs.open(doc, 'r', "windows-1251")
text = f.read()
text = unicode(text)
words = text.split()
print words
f = codecs.open(doc, 'r', "cp866")
text = f.read()
words = text.split()
print words