Use decodeLatin1 instead of depreciated decodeASCII