>>3 here,
> it also produces incorrect output for passwords containing any of: &<>"',
i just fixed this, i don't know enough python to fix the problem with shift jis.
i assumed doing
pw = pw.encode('shift_jis','ignore')
at the beginning of mktripcode would work but that still gives the same error:
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)