Fix decoding of UTF-8 sequence length (fix #922)

This commit is contained in:
David Tolnay committed 2015-08-22 12:31:36 -07:00
1 parent 370833d555
commit 6c3934de15
2 files changed
+10 -4

No files matched your search

+5
View File
@@ -83,3 +83,8 @@ gsub("(?<d>\\d)"; ":\(.d);")
gsub("(?<x>.)[^a]*"; "+\(.x)-")
"Abcabc"
"+A-+a-"
# utf-8
sub("(?<x>.)"; "\(.x)!")
"’"
"’!"