Skip to content

gettext doesn't convert charsets #8484

@375gnu

Description

@375gnu

Describe the bug
I have an application which keeps translations in UTF-8, to display them in a user's native encoding I use bind_textdomain_codeset(const char * domainname, const char * codeset ) but calls to gettext() return strings in UTF-8.

Environment

  • OS: Windows
  • Compiler: MSVC2015u3

Expected behavior
Strings returned by gettext() are converted to local encoding.

Metadata

Metadata

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions