bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diacrit: mark deprecated


From: Bernhard Voelker
Subject: Re: diacrit: mark deprecated
Date: Wed, 17 Jul 2019 22:52:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

[adding coreutils: discussion at
 https://lists.gnu.org/r/bug-gnulib/2019-01/msg00116.html ]

On 1/21/19 6:01 AM, Jim Meyering wrote:
> On Sun, Jan 20, 2019 at 5:11 PM Bruno Haible <address@hidden> wrote:
>> Hi Jim,
>>
>> You are listed as the maintainer of the 'diacrit' module. It doubt anyone is
>> still using this module, because it assumes an 8-bit character set, whereas
>> most systems have switched to UTF-8 10 to 18 years ago. Do you agree to mark
>> it deprecated?
> 
> Hi Bruno, that's fine with me.
> Thanks

In GNU coreutils, we now get this warning during bootstrap:

  Notice from module diacrit:
    This module is deprecated. Use the module 'uninorm/canonical-decomposition' 
instead.

And indeed, the 'diacrit' module is still in use by 1 source:

  $ GIT_PAGER= git grep -En 'todiac|tobase'
  src/ptx.c:1053:          diacritic = todiac (character);
  src/ptx.c:1056:              base = tobase (character);
  src/ptx.c:1338:        edited_flag[character] = todiac (character) != 0;

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]