RE: Feedback on the proposal to change U+FFFD generation when decoding ill-formed UTF-8

From: Shawn Steele via Unicode <>
Date: Tue, 30 May 2017 17:05:23 +0000

> I think nobody is debating that this is *one way* to do things, and that some code does it.

Except that they sort of are. The premise is that the "old language was wrong", and the "new language is right." The reason we know the old language was wrong was that there was a bug filed against an implementation because it did not conform to the old language. The response to the application bug was to change the standard's recommendation.

If this language is adopted, then the opposite is going to happen: Bugs will be filed against applications that conform to the old recommendation and not the new recommendation. They will say "your code could be better, it is not following the recommendation." Eventually that will escalate to some level that it will need to be considered, however, regardless of the improvements, it will be a "breaking change".

Changing code from one recommendation to another will change behavior. For applications or SDKs with enough visibility, that will break *someone* because that's how these things work. For applications that choose not to change, in response to some RFP, someone's going to say "you don't fully conform to Unicode, we'll go with a different vendor." Not saying that these things make sense, that's just the way the world works.

In some situations, one form is better, in some cases another form is better. If the intent is truly that there is not "one way to do things," then the language should reflect that.

Received on Tue May 30 2017 - 12:05:45 CDT

This archive was generated by hypermail 2.2.0 : Tue May 30 2017 - 12:05:45 CDT