Re: new module 'bcp47'

2024-10-04 Thread Bruno Haible
Here's a refactoring of that code, reducing implicit code duplication. 2024-10-04 Bruno Haible bcp47: Refactor. * lib/bcp47.c (SCRIPT_*): New macros. (default_script_in_territory, default_script_for_language2, default_script_for_language3): New functions.

Re: new module 'bcp47'

2024-10-03 Thread Collin Funk
Bruno Haible writes: > BCP 47 is an IETF specification for locale names. Since > says that this specification > is "used by computing standards such as HTTP, HTML, XML and PNG", it makes > sense for Gnulib to support it. Agreed. > Here comes a m