[Top][All Lists]

[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

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
* Windows coding conventions imply that file names and directory names should
be represented by wchar_t arrays, if they may contain arbitrary Unicode


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]