conradkleinespel / rpassword

Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).
Apache License 2.0
243 stars 38 forks source link

Fix Unicode input on Windows (closes #31) #35

Closed yandexx closed 5 years ago

yandexx commented 5 years ago

Previously, only Latin characters would be preserved.

Tested on 64-bit versions of Windows 10 1809 and Windows 2012 R2 with Cyrillic and Czech characters.

conradkleinespel commented 5 years ago

Awesome, thanks @yandexx !

conradkleinespel commented 5 years ago

@yandexx I've just published the new version as 3.0.2 on crates.io :tada: