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

Unify/fix conversion between UTF-8 and wide strings across Minetest and IrrlichtMt #13650

Closed
wants to merge 1 commit into from

Conversation

grorp
Copy link
Member

@grorp grorp commented Jul 9, 2023

Fixes minetest/irrlicht#216. Depends on a minetest/irrlicht#221.

The UTF-8 / wide string conversion functions in IrrlichtMt are broken on Windows (at least on my machine). Fortunately, Minetest has working ones. This PR moves the working UTF-8 / wide string conversion functions from Minetest to IrrlichtMt so that they can be used by both Minetest and IrrlichtMt. The broken ones have been removed.

I'd be interested in better ideas on how to fix this.

To do

This PR is a Work in Progress.

  • Move the iconv dependency from Minetest to IrrlichtMt

How to test

Verify that special characters are shown correctly in all contexts and on all platforms, I guess...
+ Verify that minetest/irrlicht#216 is fixed.

@grorp grorp marked this pull request as draft July 9, 2023 19:00
@grorp
Copy link
Member Author

grorp commented Jul 9, 2023

I'm now using a different approach that doesn't require changes to Minetest.

@grorp grorp closed this Jul 9, 2023
@grorp grorp deleted the unify-utf8-wide-conversion branch December 18, 2023 16:37
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.

SDL 2 on Windows: Problems with Unicode/UTF-8
1 participant