Bug#97053: IANA registered character set names are not recognized
On Tue, Aug 20, 2002 at 05:29:41PM +0900, GOTO Masanori wrote:
> > IANA registered character sets `windows-1250' to `windows-1258' are not
> > recognized by glibc. Instead glibc uses unregistered `cp1250' to
> > `cp1258' which, for example, cannot be used in Internet mail (according
> > to RFC 2046).
> >
> > See http://www.iana.org/assignments/character-sets.
>
> Look at /usr/lib/gconv/gconv-modules .
> gconv (iconv(3)) uses this alias database, so 'windows-125x'
> is equal to 'cp125x'.
>
> But the problem is /etc/locale.gen . It uses cp125x.
> I want to know people is really willing to use 'windows-125x'
> instead of 'cp125x'. We do not change them without _real_
> 'cp125x' user requests. IANA is not perfect.
> Do you know the real demand for changing it?
I think the original problem was that Mutt (which uses glibc's iconv for
charset conversion) did not recognize windows-125x variants without
specific workarounds (charset-hook lines in /etc/muttrc). My request
was that iconv (and maybe other parts of glibc that use charset names)
would recognize windows-125x names as aliases to cp125x.
Since I can now see WINDOWS-125x in iconv -l output, I think this
problem is solved.
I cannot say anything about locale names. I am not a cp125x locale user
-- lt_LT uses ISO-8859-13.
> > Suggestion: add appropriate `% alias WINDOWS-125x' lines to
> > /usr/share/i18n/charmaps/CP125*
>
> '%' means 'this line is comment'.
> Adding this line is trivial issue.
(I had thought these comments were meaningful to the software.)
Marius Gedminas
--
To stay awake all night adds a day to your life.
-- Stilgar (Frank Herbert _Children_of_Dune_)
Reply to: