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

Access files using UTF-8 encoding #54

Closed
wants to merge 14 commits into from
Closed

Conversation

hu-xd
Copy link
Contributor

@hu-xd hu-xd commented Apr 27, 2024

file names in FBX are encoded as UTF-8 and mustbe accessed properly, especially on Windows.

@fire
Copy link
Member

fire commented Apr 27, 2024

Do you think it's possible to use only std from c++? I'm curious.

@hu-xd
Copy link
Contributor Author

hu-xd commented Apr 27, 2024

its 'possible' to using std but that would be a lot more messy, boost::nowide is designed specifically as a drop in replacement for std to solve UTF-8 problems, especially on Windows. and nowide is integrated with boost::filesystem which is already in use here.

Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

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

It looks good to me, but can you squash to one commit. I'll see if I can get @bruvzg to take a look.

You also stacked Skip empty animations ontop of this pr. Would prefer for them to be separate.

@hu-xd
Copy link
Contributor Author

hu-xd commented Apr 28, 2024

oh thank you! I didn't find time to fix this :-)

@fire
Copy link
Member

fire commented Apr 28, 2024

Thanks!

@fire fire closed this Apr 28, 2024
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.

3 participants