thodg/libiconv/man/iconv.1

Branch :


Log

Author Commit Date CI Message
db5e62f4 2023-05-25 01:05:43 man pages: Use man page section title from groff or the distro. Reported by Mike Fulton <mikefultonpersonal@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-04/msg00027.html>. * man/*.[13]: Remove section title "Linux Programmer's Manual".
19b6af5e 2023-04-03 04:12:01 Allow overriding the newline conversion for EBCDIC encodings. Reported by Mike Fulton <mikefultonpersonal@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-04/msg00009.html>. * include/iconv.h.in (ICONV_SURFACE_NONE, ICONV_SURFACE_EBCDIC_ZOS_UNIX): New macros. (ICONV_GET_FROM_SURFACE, ICONV_SET_FROM_SURFACE, ICONV_GET_TO_SURFACE, ICONV_SET_TO_SURFACE): New macros. * lib/converters.h (struct conv_struct): Add the fields isurface, osurface. (swap_x15_x25): New macro. * lib/iconv.c (iconv_open, iconv_open_into): Add local variables from_surface, to_surface. (ALL_SURFACES): New macro. (iconvctl): Adjust ICONV_TRIVIALP implementation. Implement the ICONV_{GET,SET}_{FROM,TO}_SURFACE requests. * lib/iconv_open1.h: Parse a /ZOS_UNIX surface specifier. Set from_surface, to_surface. * lib/iconv_open2.h: Copy the values of from_surface, to_surface into the conversion descriptor. * lib/ebcdic*.h (*_mbtowc): Test the isurface. If requested, call swap_x15_x25 right after fetching an input byte. (*_wctomb): Test the osurface. If requested, call swap_x15_x25 right before storing an output byte. * man/iconvctl.3 (REQUEST VALUES): Document the ICONV_{GET,SET}_{FROM,TO}_SURFACE requests. * src/iconv.c (main): If ICONV_EBCDIC_ZOS_UNIX is set, set the from/to surfaces accordingly. * man/iconv.1 (ENVIRONMENT): New section. * tests/check-ebcdic: New file. * tests/Makefile.in (check): Invoke it. (SOURCE_FILES): Add it. * NEWS: Mention the new functionality.
3dda6027 2012-12-07 04:09:10 Change copyright holder of man pages.
7095c1ea 2007-10-07 18:23:40 Upgrade license.
e54929ca 2007-03-31 23:25:25 \- is a HYPHEN-MINUS, - is a HYPHEN. Use HYPHEN-MINUS so that copy&paste leads to better results.
59019c79 2007-03-31 22:22:08 Mark as POSIX compliant.
970a6068 2007-03-31 22:14:05 Syntactic simplification.
422b3b1d 2006-01-23 13:25:49 New feature: character-dependent substitutions.
3a95ad61 2006-01-23 13:23:00 Accept long options.
854c1592 2002-05-10 10:38:29 Update my email address.
dc5f739c 2002-01-16 12:22:10 New options -c, -s, -l.
fc8e3792 2001-02-22 16:46:29 Make -f and -t options optional.
a615528b 2000-11-23 19:54:07 Move src/ to lib/, and install the iconv program.