[PATCH] D46274: [Support] Harden JSON against invalid UTF-8.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 10:36:56 PDT 2018


ruiu added a comment.

I wonder if you also want to replace surrogate codepoint with U+FFFD, as UTF-8 string should not contain any codepoint between U+https://reviews.llvm.org/D800 and U+DFFF.


Repository:
  rL LLVM

https://reviews.llvm.org/D46274





More information about the llvm-commits mailing list