Update delimiter to fallback to ISO-8859-1.
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user