freebsd-skq/usr.bin/calendar
bapt a960df88d0 calendar: use iconv to respect the output encoding
calendar(1) can have input in various encoding, specifying
LANG=<locale_name> to enable calendar(1) to determine which one to use.

The problem is the content of the calendar itself is exposed as is making it
unreadable in many cases. For example french calendar which is encoded
ISO8859-1 is rendered badly in a fr_FR.UTF-8 environment.

Using iconv allows to solve this issue.
This will also allow to keep only 1 encoding in base for those files without
breaking user existing setup

Reported by:	many
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D19221
2019-02-20 06:40:52 +00:00
..
calendars Add myself to committers-src.dot and calendar.freebsd 2019-02-09 16:53:39 +00:00
tests Increase timeout for legacy_test from 300 (default) to 600 seconds. 2016-09-26 13:59:18 +00:00
calendar.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
calendar.c calendar: use iconv to respect the output encoding 2019-02-20 06:40:52 +00:00
calendar.h calendar: use iconv to respect the output encoding 2019-02-20 06:40:52 +00:00
dates.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
day.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
events.c calendar: use iconv to respect the output encoding 2019-02-20 06:40:52 +00:00
io.c calendar: use iconv to respect the output encoding 2019-02-20 06:40:52 +00:00
locale.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Makefile calendar: use iconv to respect the output encoding 2019-02-20 06:40:52 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ostern.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
parsedata.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
paskha.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pom.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
sunpos.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00