> Even if size_byte == size, it may contain eight-bit-graphic
> characters, and decoding such a string is a valid operation.
> And even if size_byte > size, it may contain only ASCII,
> eight-bit-graphic, and eight-bit-control charactes. It's
> also a valid operation to decode it.
I think it should not be considered valid to decode a multibyte string,
whether the string happens to only contains ASCII (or ASCII+eight-bit-*)
or not.
> It's not a trivial work to change the current code (in coding.c) to signal
> an error safely while doing a code conversion.
If by "safely" you mean "which will not break currently working code",
I agree. If by "safely" you mean "which will not break properly written
code", I disagree.
Stefan
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel