Update delimiter to fallback to ISO-8859-1.

This commit is contained in:
David Howden 2016-05-09 22:40:03 +10:00
parent bfba4b35ab
commit 9daeb83105

View File

@ -348,8 +348,8 @@ func encodingDelim(enc byte) ([]byte, error) {
return []byte{0}, nil
case 1, 2: // see decodeText above
return []byte{0, 0}, nil
default:
return nil, fmt.Errorf("invalid encoding byte %x", enc)
default: // see decodeText above
return []byte{0}, nil
}
}