Comment on HN: Name a problem, any problem, you'd like to see someone solveComments−jonthedog14yA way to automatically change double byte romaji characters to single byte−someone1314yTry this in Python? import codecs fin = codecs.open('input.txt', 'rb', 'shift-jis') fout = codecs.open('output.txt', 'wb', 'utf-8') try: fout.write(fin.read()) except ValueError: print "Not encoded using Shift-JIS!" Not sure if that's what you mean - feel free to clarify, if not.
Comments
A way to automatically change double byte romaji characters to single byte
Try this in Python?
Not sure if that's what you mean - feel free to clarify, if not.