Código Python:
El archivo esta en http://www.4shared.com/file/f6bn6Kry...00_02_MES.html y uso python 2.7 Ver original
import codecs with codecs.open("ANO90_53_00_02_MES.DAT", 'r', encoding="shift-jis") as in_f: unicode_content = in_f.read() with codecs.open("ANO90_53_00_02_MES.txt", 'w', encoding='utf-8') as out_f: out_f.write(unicode_content) f = open('ANO90_53_00_02_MES.txt','r',encoding = 'utf-8') una_linea = f.readline() for i in una_linea: if i == '\x00': delimitador1 = una_linea.index(i) print (una_linea[delimitador1:]) f.close()