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

Improving UTF-8 path detection and conversion #2525

Merged
merged 12 commits into from
Jan 12, 2019
Merged

Conversation

jonoomph
Copy link
Member

This PR fixes some regressions caused by an earlier one and gives a big boost to opening and saving project performance, along with UTF-8 support for file and folder paths contained in an OSP project. Essentially, every single file path contained in the OSP file is now always saved (and escaped) to a relative path, and when an OSP file is opened, the relative paths are converted back to absolute paths in memory. Also tested is the ability to move a self contained folder (folder with OSP file and assets) to any other location on the computer, or another OS (such as move a project folder from Linux to Windows), and everything still works perfectly, even if UTF-8 characters are used, and switching between Windows and Linux slashes (\ vs /).

@jonoomph jonoomph merged commit 8dd43a9 into develop Jan 12, 2019
@jonoomph jonoomph deleted the improving-utf-8-paths branch January 12, 2019 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant