Fix extended ascii decode issue