1662 |
source_encoding = get_source_encoding (lang); |
source_encoding = get_source_encoding (lang); |
1663 |
if (debug) |
if (debug) |
1664 |
fprintf (stderr, "source_encoding = %s\n", |
fprintf (stderr, "source_encoding = %s\n", |
1665 |
STRC (source_encoding, "NULL")); |
source_encoding); |
1666 |
|
|
1667 |
cat_charset = get_standard_output_encoding (lang); |
cat_charset = get_standard_output_encoding (lang); |
1668 |
locale_charset = get_locale_charset (); |
locale_charset = get_locale_charset (); |
1704 |
* from source_encoding to roff_encoding on input; |
* from source_encoding to roff_encoding on input; |
1705 |
* from output_encoding to locale_charset on output. |
* from output_encoding to locale_charset on output. |
1706 |
*/ |
*/ |
1707 |
if (source_encoding && roff_encoding && |
if (roff_encoding && |
1708 |
!STREQ (source_encoding, roff_encoding)) |
!STREQ (source_encoding, roff_encoding)) |
1709 |
command = strappend (command, |
command = strappend (command, |
1710 |
" | iconv -c -f ", |
" | iconv -c -f ", |
1716 |
output_encoding = source_encoding; |
output_encoding = source_encoding; |
1717 |
if (debug) |
if (debug) |
1718 |
fprintf (stderr, "output_encoding = %s\n", |
fprintf (stderr, "output_encoding = %s\n", |
1719 |
STRC (output_encoding, "NULL")); |
output_encoding); |
1720 |
|
|
1721 |
if (!getenv ("LESSCHARSET")) { |
if (!getenv ("LESSCHARSET")) { |
1722 |
const char *less_charset = |
const char *less_charset = |