diff options
| author | blake2-ppc <blake2-ppc> | 2013-07-30 17:17:21 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-07-30 17:25:29 +0200 |
| commit | 6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf (patch) | |
| tree | 0176c049a16a20097efda6cb22a89e76b0d16a66 /src/rt/rust_stack.cpp | |
| parent | 576f395ddfe3a47859df0419a0366abf7a8c185b (diff) | |
| download | rust-6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf.tar.gz rust-6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf.zip | |
std: Disallow bytes 0xC0, 0xC1 (192, 193) in utf-8
Bytes 0xC0, 0xC1 can only be used to start 2-byte codepoint encodings, that are 'overlong encodings' of codepoints below 128. The reference given in a comment -- https://tools.ietf.org/html/rfc3629 -- does in fact already exclude these bytes, so no additional comment should be needed in the code.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
