mirror of
https://github.com/coreutils/coreutils.git
synced 2026-10-28 17:54:36 +08:00
* bootstrap.conf: Reference the new "utf8" module. * cfg.mk: Adjust checks as per mbbuf. * gl/lib/utf8.c: Include the implementation. * gl/lib/utf8.h: Add is_utf8_charset() and u8_count(). Note we don't give is_utf8_charset external-linkage due to its static cache. * gl/local.mk: Reference the new module files. * gl/modules/utf8: Add the module definition and dependencies. * src/cut.c: Use is_utf8_charset() and u8_count(). * src/numfmt.c: Use is_utf8_charset(). * src/system.h: Remove is_utf8_charset() definition.
31 lines
252 B
Plaintext
31 lines
252 B
Plaintext
Description:
|
|
UTF-8 helpers.
|
|
|
|
Files:
|
|
lib/utf8.c
|
|
lib/utf8.h
|
|
|
|
Depends-on:
|
|
bool
|
|
c99
|
|
extern-inline
|
|
idx
|
|
mbrtoc32
|
|
mbszero
|
|
unistr/u8-check
|
|
stdint-h
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += utf8.c utf8.h
|
|
|
|
Include:
|
|
"utf8.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|