google / google/rust_icu

Use Rust built-in UTF-16 conversion

Open
#8 14 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.