Skip to content

Conversation

@e-rk
Copy link
Contributor

@e-rk e-rk commented Jan 5, 2025

The bindTextDomainCodeset allows the user to set a specific codeset for a given domain. This may be useful on systems, the where UTF-8 is not set as the default codeset but the UTF-8 encoding of gettext messages is needed.
One such example is having translated GUI labels in GTK4 on Windows, where GTK4 requires UTF-8 strings, but Windows is set to use region-specific codeset instead.

The bindTextDomainCodeset allows the user to set a specific codeset for
a given domain. This may be useful on systems, the where UTF-8 is not
set as the default codeset but the UTF-8 encoding of gettext messages
is needed.
One such example is having translated GUI labels in GTK4 on Windows,
where GTK4 requires UTF-8 strings, but Windows is set to use
region-specific codeset instead.
@NH002 NH002 merged commit 44dffa6 into haskell-hvr:master Jan 13, 2025
11 checks passed
@NH002
Copy link
Collaborator

NH002 commented Jan 13, 2025

Thanks for the code.

@NH002 NH002 mentioned this pull request Jan 13, 2025
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.

2 participants