We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prompt_password
My test code is
use rpassword::prompt_password; #[test] fn test_prompt_password() { let passwd = prompt_password("请输入密码:").unwrap(); }
where the prompt is simplified Chinese. It should print given prompt:
"请输入密码:"
if everything is ok. But now its output is messy code:
璇疯緭鍏ュ瘑鐮侊細
Microsoft Windows
The text was updated successfully, but these errors were encountered:
prompt_passward
No branches or pull requests
My test code is
where the prompt is simplified Chinese.
It should print given prompt:
if everything is ok.
But now its output is messy code:
Microsoft Windows
. In China, it defaults to be GBK.The text was updated successfully, but these errors were encountered: