Skip to content
New issue

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

Saving to a file with a non-ASCII name creates a %-encoded file #1

Open
choroba opened this issue Nov 5, 2019 · 5 comments
Open

Saving to a file with a non-ASCII name creates a %-encoded file #1

choroba opened this issue Nov 5, 2019 · 5 comments
Labels
bug Something isn't working question Further information is requested upstream Problem is elsewhere

Comments

@choroba
Copy link
Owner

choroba commented Nov 5, 2019

No description provided.

@choroba choroba added the bug Something isn't working label Nov 5, 2019
@choroba
Copy link
Owner Author

choroba commented Nov 5, 2019

>/ open čů.xml ;
>/ save :b ;
Document saved into file '%C4%8D%C5%AF.html'.

@choroba
Copy link
Owner Author

choroba commented Nov 5, 2019

Works correctly on my home desktop 🤔

@choroba choroba added the upstream Problem is elsewhere label Jan 25, 2020
@choroba
Copy link
Owner Author

choroba commented Jan 30, 2020

Reported to libxml2 as 141. It seems it won't be fixed.

@choroba
Copy link
Owner Author

choroba commented Jun 4, 2024

This is a simple reproducer:

#! /bin/bash
set -eu

pcnt=1%3Aa.xml

echo '<root1/>' > 1:a.xml
echo '<root2/>' > "$pcnt"

[[ -f $pcnt ]]

xsh << __XSH__
open '1%3Aa.xml' ;
save :b ;
__XSH__

[[ -f $pcnt ]]

@choroba
Copy link
Owner Author

choroba commented Jun 4, 2024

The libxml2 bug has been reportedly fixed. Waiting for confirmation.

@choroba choroba added the question Further information is requested label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested upstream Problem is elsewhere
Projects
None yet
Development

No branches or pull requests

1 participant