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

[ETL] current_working_directory() function now works correctly with non-Latin filenames #2011

Merged
merged 1 commit into from Feb 11, 2021

Conversation

ice0
Copy link
Collaborator

@ice0 ice0 commented Feb 6, 2021

This problem mentioned by @rodolforg here: #1952, so I fixed it.

etl::absolute_path() trusting on getcwd(), that doesn't handle the famous encoding problems.

@ice0 ice0 added this to Fixed in v1.4.1 via automation Feb 6, 2021
@ice0 ice0 added the Backport label Feb 6, 2021
@ice0 ice0 added this to the v1.4.1 milestone Feb 6, 2021
@ice0 ice0 added the Windows label Feb 6, 2021
Copy link
Contributor

@rodolforg rodolforg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really don't like to make libsynfig (more) dependent on glibmm, it prevents to use libsynfig on simpler projects (like embed it on Godot Engine or maybe some Android projects).

Maybe use iconv to convert utf-16 to utf-8 (on windows) would solve this issue.

Anyway, it isn't a reality right now. So, ok.

@ice0 ice0 merged commit 94c0805 into synfig:master Feb 11, 2021
v1.4.1 automation moved this from Fixed to Ready to backport Feb 11, 2021
@ice0 ice0 deleted the etl-fix-get_current_dir branch February 11, 2021 15:16
@ice0 ice0 moved this from Ready to backport to Backported in v1.4.1 Feb 28, 2021
@ice0 ice0 mentioned this pull request Feb 28, 2021
ice0 added a commit to ice0/synfig that referenced this pull request Feb 28, 2021
ice0 added a commit to ice0/synfig that referenced this pull request Feb 28, 2021
morevnaproject pushed a commit that referenced this pull request Apr 20, 2021
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
@rodolforg rodolforg removed the Backport label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v1.4.1
Backported
Development

Successfully merging this pull request may close these issues.

None yet

2 participants