[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gett
From: |
Bruno Haible |
Subject: |
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gettext-21.1 no problem) |
Date: |
Thu, 21 Sep 2023 22:51:06 +0200 |
alphons@heijden.com wrote:
> As a comparison i demonstrated exact same system having same glibc, using
> gettext-0.21.1 and that works fine, no errors when 'make install' a new
> glibc, or gcc.
> ...
> There must be something changed after release gettext-0.21.1
> Why does msgfmt from gettext-0.21.1' on the same glibc have no problem
> converting ASCII to UTF-8 and gettext-0.22.x errors out ?
There is a change in the way msgfmt works, in 0.22. It is mentioned in the NEWS
file. It requires a working iconv() now.
> The used glibc-2.38 (of the host system) is compiled default, and supports
> iconv
Take a look at the mentions of 'iconv' in the file gettext-tools/config.status,
around
checking for iconv.h
and
checking for iconv
and
checking for working iconv
This will help you understand why, in your installation, glibc's iconv() does
not work.
Bruno