about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-13 05:51:52 -0700
committerbors <bors@rust-lang.org>2014-04-13 05:51:52 -0700
commit4c62ab109b8bc4da7218c5fab0be1509a8f21664 (patch)
tree165676a2e6ed3a133105366ba3aaa4d5e611074d /src/rustllvm/ExecutionEngineWrapper.cpp
parent770b2fea06f96714b4602d54c0681dce8ad315b1 (diff)
parentcee9a83629336fa3ae218d2876fa9395a68d4370 (diff)
downloadrust-4c62ab109b8bc4da7218c5fab0be1509a8f21664.tar.gz
rust-4c62ab109b8bc4da7218c5fab0be1509a8f21664.zip
auto merge of #13469 : kmcallister/rust/utf16, r=huonw
This fixes two separate issues related to character encoding.

* Add `encode_utf16` to the `Char` trait, analogous to `encode_utf8`.  `&str` already supports UTF-16 encoding but only with a heap allocation.  Also fix `encode_utf8` docs and add tests.

* Correctly decode non-BMP hex escapes in JSON (#13064).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions