Do not merge yet - Fix the call to `char::encode_utf8`
Created by: nounoursheureux
On Rust's current master the char::encode_utf8
has changed from
fn encode_utf8(self, dst: &mut [u8]) -> Option<usize>
to
fn encode_utf8(self) -> EncodeUtf8
So when we will update the Rust version used by Redox this lib will break.
I am making this PR so that when we update Rust we can also update this library to use the new encode_utf8
function.