Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO-2022-JP encoder: document an oddity #155

Merged
merged 3 commits into from
Sep 2, 2018

Conversation

annevk
Copy link
Member

@annevk annevk commented Aug 30, 2018

At this point it does not seem worth it to require further implementation changes and risk compatibility issues, so instead document the quirk.

Closes #115.


Preview | Diff

At this point it does not seem worth it to require further implementation changes and risk compatibility issues, so instead document the quirk.

Closes #115.
encoding.bs Outdated
@@ -2650,6 +2650,15 @@ consumers of content generated with <a>GBK</a>'s <a for=/>encoder</a>.

<h4 id=iso-2022-jp-encoder dfn export>ISO-2022-JP encoder</h4>

<div class="note no-backref">
<p>The <a>ISO-2022-JP encoder</a> is the only <a for=/>encoder</a> for which the concetenation of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concetenation -> concatenation

encoding.bs Outdated
@@ -2650,6 +2650,15 @@ consumers of content generated with <a>GBK</a>'s <a for=/>encoder</a>.

<h4 id=iso-2022-jp-encoder dfn export>ISO-2022-JP encoder</h4>

<div class="note no-backref">
<p>The <a>ISO-2022-JP encoder</a> is the only <a for=/>encoder</a> for which the concatenation of
multiple outputs can result in an <a>error</a> when run through the <a>ISO-2022-JP decoder</a>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say "corresponding decoder" instead of "ISO-2022-JP decoder" to be pedantic about this being self-decode and not about decoding the output of other encoders with the ISO-2022-JP decoder. Other than that, looks good to me.

@annevk annevk merged commit fe4934c into master Sep 2, 2018
@annevk annevk deleted the annevk/iso-2022-jp-encoder-oddity branch September 2, 2018 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants