Fixed a few problems with the parsing

Changed from 2 to 3 in line 320, and made it encode and decode to ascii
on line 21