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

support wstring and wchar_t? #241

Open
WillPanSUTD opened this issue Nov 14, 2019 · 2 comments
Open

support wstring and wchar_t? #241

WillPanSUTD opened this issue Nov 14, 2019 · 2 comments

Comments

@WillPanSUTD
Copy link

seems to be hard to extend to wstring and wchar_t file io.

trying to implement FileIO for multilanguage like Korean characters, and failed.

e.g. 한국어.obj

@syoyo
Copy link
Collaborator

syoyo commented Nov 14, 2019

If you are running code on MSVC or MinGW, you can do similar fix as done in TinyGLTF > syoyo/tinygltf#214

PR for unicode(utf-8) support in VC and MinGW are appreciated.

@AnyOldName3
Copy link

I noticed this while scrolling past and feel it's worth pointing out that there are still non-EOL versions of Windows that don't support UTF-8, so a TinyGLTF-style fix won't actually work everywhere.

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

No branches or pull requests

3 participants