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

doc: add documentation for invalid byte sequences #28249

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/buffer.md
Co-Authored-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
rexagod and Trott authored Jul 5, 2019
commit 1739d22fbc8b095056a4e9a9f33cc9c0604616be
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ invalid byte sequences.
For cases regarding operations other than employing backward compatibility
for 7-bit (and [extended 8-bit]((https://en.wikipedia.org/wiki/UTF-8#Description))
in rare cases) `'ascii'` data, and the valid [`UTF-8` code units](https://en.wikipedia.org/wiki/UTF-8#Codepage_layout),
it should be noted that the replacement character (`�`) is returned,
the replacement character (`�`) is returned,
and *no exception will be thrown*.
rexagod marked this conversation as resolved.
Show resolved Hide resolved

It should also be noted that a `U+FFFD` replacement value
rexagod marked this conversation as resolved.
Show resolved Hide resolved
Expand Down