Support/ConvertUTF: implement U+FFFD insertion according to the recommendation

given in the Unicode spec

That is, replace every maximal subpart of an ill-formed subsequence with one
U+FFFD.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitri Gribenko
2014-06-16 11:09:46 +00:00
parent b3820b4289
commit 9becc6c2af
3 changed files with 1342 additions and 9 deletions

File diff suppressed because it is too large Load Diff