#6 fix codepage properly