Bug#516027: html2text: suggest output coding not through LC_CTYPE
Hello Kevin, Kevin Ryde wrote: Package: html2text Version: 1.3.2a-11 Severity: wishlist For the output coding it'd be good not to use LC_CTYPE and setlocale, but instead some separate command line option etc. Use of LC_CTYPE and setlocale was added for sole purpose to output the text in the terminal encoding. Once you want to doing some more complicated things with recoding, I suggest you using iconv utility in the shell pipe, following the Unix-way. With setlocale the possible charsets are limited to those for which a locale has been created (/etc/locale.gen), and you have the problem of finding one with the charset you want. For now, I think that adding one more option for recoding isn't worth the consequences. Can you do what you want using iconv after html2text? -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Maintainer signature.asc Description: OpenPGP digital signature
Bug#516027: html2text: suggest output coding not through LC_CTYPE
Package: html2text Version: 1.3.2a-11 Severity: wishlist For the output coding it'd be good not to use LC_CTYPE and setlocale, but instead some separate command line option etc. With setlocale the possible charsets are limited to those for which a locale has been created (/etc/locale.gen), and you have the problem of finding one with the charset you want. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i586) Kernel: Linux 2.6.26-1-486 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages html2text depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libgcc1 1:4.3.3-3 GCC support library ii libstdc++64.3.3-3The GNU Standard C++ Library v3 html2text recommends no packages. Versions of packages html2text suggests: ii curl 7.18.2-8 Get a file from an HTTP, HTTPS or ii wget 1.11.4-2 retrieves files from the web -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org