{"id":65,"date":"2005-10-16T06:57:53","date_gmt":"2005-10-16T11:57:53","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2005\/10\/16\/fixing-invalid-charset-name-message-in"},"modified":"2005-10-16T06:57:53","modified_gmt":"2005-10-16T11:57:53","slug":"fixing-invalid-charset-name-message-in-debian","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2005\/10\/16\/fixing-invalid-charset-name-message-in-debian\/","title":{"rendered":"Fixing &#8216;invalid charset name&#8217; message in Debian"},"content":{"rendered":"<p><a name='a568'><\/a><\/p>\n<p>\n It seems that <a href=\"http:\/\/www.debian.org\">Debian<\/a> always finds some way<br \/>\n to have small niggling issues that end up being a major problem if you follow<br \/>\n unstable. Unstable is very good for getting the latest packages prebuilt however<br \/>\n as it is said. It&#8217;s unstable.\n <\/p>\n<p>\n My latest issue was anytime I used the command <b>man<\/b> I got the following:<br \/>\n <br \/>\n <em><br \/>\n # man man<br \/>\n Reformatting man(1), please wait&#8230;<br \/>\n invalid charset name<br \/>\n man: command exited with status 256: \/usr\/bin\/zsoelim \/tmp\/zmanQKj7sy | \/usr\/bin\/tbl | \/usr\/bin\/nroff -mandoc -rLL=79n -rLT=79n -Tascii8 | iconv -c -f ISO-8859-1 -t EUC-JP | \/usr\/bin\/pager -s<br \/>\n <\/em>\n <\/p>\n<p>\n Not exactly what I would call an easy to debug message.  After googling I found<br \/>\n a Japanese page that dealt with this <a href=\"http:\/\/debikuro.ddo.jp\/KuroBox\/A007.html\"><br \/>\n problem<\/a>.<br \/>\n The basic gist of the page is that the default version of less that comes with<br \/>\n Debian will barf if you&#8217;re not living in ASCII world.  One solution is to go back<br \/>\n to good old <b>more<\/b> or use <b>jless<\/b>, which is a version that is happy with<br \/>\n Japanese.\n <\/p>\n<p>\n You can do that by running the following commands (as root):<br \/>\n <em><br \/>\n apt-get install jless<br \/>\n update-alternatives &#8211;config pager<br \/>\n <\/em>\n <\/p>\n<p>\n Debian keeps track of the default pager in its system in \/etc\/alternatives\/pager.<br \/>\n And you need to remember to use <b>update-alternative<\/b> to get it fixed.<br \/>\n Problems solved and now I can go on happily computing.\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems that Debian always finds some way to have small niggling issues that end up being a major problem if you follow unstable. Unstable is very good for getting the latest packages prebuilt however as it is said. It&#8217;s unstable. My latest issue was anytime I used the command man I got the following: [&hellip;]<\/p>\n","protected":false},"author":704,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/704"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}