Replace generic control characters
This CL is replacing the control characters with the "Replacement Codepoints". The codepoints in that area are: Unicode Character Category 'Other, Control' a) u+0000 -> u+001f b) u+007f (delete) c) 0080 -> 009f The codepoints from a) and b) are already handled properly. For codepoints from c), it is quite common to have no glyphs (win7). """ Most of these characters play no explicit role in Unicode text handling. The characters U+0000 <control-0000> (NUL), U+0009 <control-0009> tab key (HT), U+000A <control-000A> newline (LF), U+000D <control-000D> (CR), and U+0085 <control-0085> (NEL) are commonly used in text processing as formatting characters. """ see: https://en.wikipedia.org/wiki/Unicode_control_characters Bug: 1011818 Change-Id: I23010faf9130806db3884720e4a90c0723802893 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894041 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#711465}
Showing
Please register or sign in to comment