Skip to content

Upstream-BugFix: change out wchar_t type which is too narrow on Windows#3207

Merged
SlySven merged 1 commit intoMudlet:developmentfrom
SlySven:Upstream_BugFix_changeOutWChar_TTypeWhichIsTooNarrowOnWindows
Oct 31, 2019
Merged

Upstream-BugFix: change out wchar_t type which is too narrow on Windows#3207
SlySven merged 1 commit intoMudlet:developmentfrom
SlySven:Upstream_BugFix_changeOutWChar_TTypeWhichIsTooNarrowOnWindows

Conversation

@SlySven
Copy link
Copy Markdown
Member

@SlySven SlySven commented Oct 30, 2019

This is a bugfix that I got into upstream and fixes some issues on Windows where some Emojis (off of the BMP) were not being correctly typed - they were being identified as private use characters on Windows because the argument to a function was not wide enough (did not have enough bits) to convey the values required.

I believe this may be a simpler fix for the issue that PR #2943 was trying to fix.

Signed-off-by: Stephen Lyons slysven@virginmedia.com

Brief overview of PR changes/additions

Motivation for adding to Mudlet

Other info (issues closed, discussion etc)

This is a bugfix that I got into upstream and fixes some issues on Windows
where some Emojis (off of the BMP) were not being correctly typed - they
were being identified as private use characters on Windows because the
argument to a function was not wide enough (did not have enough bits) to
convay the values required.

I believe this may be a simpler fix for the issue that PR:
Mudlet#2943 was trying to fix.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven SlySven requested a review from a team as a code owner October 30, 2019 22:04
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Oct 30, 2019

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@SlySven SlySven added this to the 4.3.0 milestone Oct 30, 2019
@SlySven
Copy link
Copy Markdown
Member Author

SlySven commented Oct 30, 2019

Upstream fix is: ridiculousfish/widecharwidth#7 .

@SlySven SlySven merged commit 2091bba into Mudlet:development Oct 31, 2019
@SlySven SlySven deleted the Upstream_BugFix_changeOutWChar_TTypeWhichIsTooNarrowOnWindows branch October 31, 2019 14:37
@SoulSpirit79
Copy link
Copy Markdown

Just to thank you for your work, this is how we're exploiting this bugfix:

image

@vadi2
Copy link
Copy Markdown
Member

vadi2 commented Dec 11, 2019

Very nice!

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