[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.x (gett
From: |
alphons |
Subject: |
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.x (gettext-21.1 no problem) |
Date: |
Sat, 23 Sep 2023 10:31:55 +0200 |
Hello Bruno, thanks for your reply.
>cannot convert from/to EUC-JP. Thus, it does not fulfil the expectations
>of GNU gettext.
Yes, thats what I discovered after doing some digging.
If EUC-JP is a prerequisite, it should be in the manual for gettext.
But thats not the point here. The check for working iconv() in iconv.m4
is wrong because it is not testing for a working iconv()
but it is (also) testing for an installed Japanese converter.
Better to remove this one and place it as a seperate test in 'make test'
which can be 'skipped' when no JP converter is installed.
There is no harm, this makes a working gettext package on
lets say an embedded system or any other somehow limited system.
>glibc's "make install" installs all the iconv converters.
>linux-from-scratch tutorial
I mentioned linuxfromscratch as a reference.
On a full blown system there are 1180 listed conversions (iconv -l).
Only 1 is needed for having a working iconv ... ;-)
You're in charge!
cheers.
-Alphons.