这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

6.3. is incompatible with 6.2. #13

@seishun

Description

@seishun

The second part of 6.3. says:

To convert from WTF-8 to potentially ill-formed UTF-16, run these steps:

Decode from well-formed WTF-8 to code points [link to 6.2.]
Encode from code points to potentially ill-formed UTF-16 [link to 4.1.]

Note: This conversion never fails and, if the input is well-formed in WTF-8, is lossless.

If "WTF-8" in the first quoted line means "potentially ill-formed WTF-8", then the provided steps cannot be used since the algorithm referred to by the first step is defined only for well-formed WTF-8.

If, on the other hand, it means "well-formed WTF-8", then the bolded part of the note in the last quoted line is extraneous and misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions