Use Rust built-in UTF-16 conversion
Open
discuss before start
enhancement
help wanted
- Dominant language
- Rust
- Stars
- 140
- Forks
- 34
- Avg merge
- 5h 5m
- Merged PRs (30d)
- 4
Description
Split from #6
The code currently calls `u_strToUTF8`. It would be better to use Rust standard library functions like *std::str::encode_utf16*. You would avoid having to go across the FFI boundary when performing the conversion.
Contributor guide
Assessment
This issue has not been assessed yet.