This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using localedef to define custom charmaps


On 06/07/2018 11:31 AM, Florian Weimer wrote:
> Is it currently possible to use localedef to define custom charmaps?

Sure, just write one and put it into the default install path.

> The command line interface suggests this possibility.

Yes.

> But I don't see anything storing the tables in locale data, and it
> seems that setting a locale in glibc always loads the corresponding
> gconv/iconv module
> If that's really true, then why do we have charmap files?  Only some
> of them are used for generating iconv/gconv modules.  Is it about
> POSIX conformance at the command line interface level?

Well, we need the charmap file to translate from the internal
representation to the character set we are using?

However, once you've done the work of using the charmap to build
the output locale data ... why do you need it anymore?

Conversions will be handled by gconv converters after that.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]