[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57714] libintl: Unicode paths passed to bindtextdomain fail on Win
From: |
Bruno Haible |
Subject: |
[bug #57714] libintl: Unicode paths passed to bindtextdomain fail on Windows (when linked to the MSVCRT) |
Date: |
Sun, 19 Apr 2020 22:04:02 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
Update of bug #57714 (project gettext):
Status: None => Fixed
Assigned to: None => haible
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Thanks for the report.
Fixed through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=2e397fbb43fa0c6008897b50ccd2b9ffcd0a0cb5
I chose a different approach than yours, because
* On native Windows, 'char *' strings are supposed to be in the encoding
returned by GetACP(), not in UTF-8.
* Therefore changing the way bindtextdomain() works would not only be
backward-incompatible, but would also be inconsistent with Windows coding
conventions.
* Windows coding conventions imply that file names and directory names should
be represented by wchar_t arrays, if they may contain arbitrary Unicode
characters.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57714>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #57714] libintl: Unicode paths passed to bindtextdomain fail on Windows (when linked to the MSVCRT),
Bruno Haible <=