Skip to content

Commit 8019a29

Browse files
committed
Fix bytes of youkoso in shiftjis
1 parent c106d16 commit 8019a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/str.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fn main() {
145145
like with normal raw strings"#;
146146
147147
// Byte strings don't have to be UTF-8
148-
let shift_jis = b"\x82\xe6\x82\xa8\x82\xb1\x82"; // "ようこそ" in SHIFT-JIS
148+
let shift_jis = b"\x82\xe6\x82\xa8\x82\xb1\x82\xbb"; // "ようこそ" in SHIFT-JIS
149149
150150
// But then they can't always be converted to `str`
151151
match str::from_utf8(shift_jis) {

0 commit comments

Comments
 (0)