Quote multibyte characters correctly.
authorJim Meyering <jim@meyering.net>
Sat, 15 Jan 2000 11:57:11 +0000 (11:57 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Jan 2000 11:57:11 +0000 (11:57 +0000)
commitc4b7f3f8557b27a729a0065bba401dc629357345
tree975b1266dfa3cb2c640d24741cd88f8b77a30794
parentcd4f1fde18b886b9a60c56cf3b207fc29a38435e
Quote multibyte characters correctly.

(ISGRAPH): Remove.
(ISPRINT): New macro.
(<wchar.h>): Include if HAVE_MBRTOWC && HAVE_WCHAR_H.
(isprint, mbrtowc, mbsinit, mbstate_t): New macros,
defined if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
(quotearg_buffer_restyled): New function, with most of the old
quotearg_buffer's contents.
Major rewrite to support multibyte characters.
(quotearg_buffer): Now just calls quotearg_buffer_restyled.
lib/quotearg.c