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
To convert from Rust's Path to URL, I used cf::Url::with_path. But the generated string is used wrong encoding. My macOS uses Japanese.
MacBook Airのマイク is converted to MacBook Air縺ョ繝槭う繧ッ
MacBook Airのマイク
MacBook Air縺ョ繝槭う繧ッ
I changed
cidre/cidre/src/cf/url.rs
Line 65 in b0be23b
cf::StringEncoding::UTF8
then the conversion succeeded.
My system returns kCFStringEncodingMacJapanese = 1 from StringEncoding::sys_encoding().
kCFStringEncodingMacJapanese = 1
StringEncoding::sys_encoding()
macOS uses UTF-8(NFD) as file names, so the conversion fails?
The text was updated successfully, but these errors were encountered:
bb09087
Thank you!
Sorry, something went wrong.
No branches or pull requests
To convert from Rust's Path to URL, I used cf::Url::with_path.
But the generated string is used wrong encoding.
My macOS uses Japanese.
MacBook Airのマイク
is converted toMacBook Air縺ョ繝槭う繧ッ
I changed
cidre/cidre/src/cf/url.rs
Line 65 in b0be23b
then the conversion succeeded.
My system returns
kCFStringEncodingMacJapanese = 1
fromStringEncoding::sys_encoding()
.macOS uses UTF-8(NFD) as file names, so the conversion fails?
The text was updated successfully, but these errors were encountered: