jeaye / ncurses-rs

A low-level ncurses wrapper for Rust
Other
685 stars 99 forks source link

Unicode broken on rust-1.32 #180

Closed kamiyaa closed 5 years ago

kamiyaa commented 5 years ago

Unicode is broken on rust-1.32 Specifically, addstr and its family of functions. Not entirely sure why it is broken. an example would be being printed as ~@

rustc 1.32.0 (9fda7c223 2019-01-16)

ncurses-6.1

simmons commented 5 years ago

I also observed this problem, and tracked it down to memory corruption in the unsafe Rust code wrapping the setlocale() function. See PR #181.

kamiyaa commented 5 years ago

Fixed via 8400b5a06558438ddb937d84cd589ec951769f84