[elinks-users] Displaying Big5 Charset

2010-07-13 Thread Richard R. Boyechko

Dear Elinkers,

I have been using elinks for several years for an occasional web
browsing when X is not available, but over the past couple of weeks
have switched to using elinks almost exclusively for all my browsing
needs. As part of that, I am trying to view a Big5-encoded website
[1]. Try as I may, however, I cannot get it to display anything but
gibberish. Could anyone help me figure out what I'm doing wrong, or at
least unequivocally say that it's not supported and won't work?

  [1] http://bbs3.nsysu.edu.tw/txtVersion/boards/house/BmWelcome.html 

Here's what /should/ be displayed: 
  [2] http://www.boyechko.net/images/w3m-mee_big5.png

Here's what is actually displayed:
  [3] http://www.boyechko.net/images/elinks_big5.png

I tried changing LC_CTYPE variable (as well as LC_ALL, just to test
things out) to zh_TW.Big5, but the results weren't very promising
either:

  [4] http://www.boyechko.net/images/elinks_big5_2.png

Any help would be greatly appreciated.

Some (too much?) information:

Slackware 13.1 (Linux 2.6.33.4)

$ elinks --version
ELinks 0.12pre5
Built on Jul  3 2010 11:14:25

Features:
Standard, IPv6, gzip, bzip2, UTF-8, Periodic Saving, Viewer (Search
History, Timer, Marks), Cascading Style Sheets, Protocol
(Authentication, BitTorrent, File, CGI, Finger, FTP, HTTP, NNTP, URI
rewrite, User protocols), SSL (OpenSSL), MIME (Option system, Mailcap,
Mimetypes files), LED indicators, Bookmarks, Cookies, Form History,
Global History, Exmode, Goto URL History

$ ldd /usr/bin/elinks
linux-gate.so.1 =  (0xe000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb7789000)
libssl.so.0 = /lib/libssl.so.0 (0xb7741000)
libcrypto.so.0 = /lib/libcrypto.so.0 (0xb75f9000)
libdl.so.2 = /lib/libdl.so.2 (0xb75f5000)
libgpm.so.1 = /lib/libgpm.so.1 (0xb75ef000)
libz.so.1 = /usr/lib/libz.so.1 (0xb75db000)
libbz2.so.1 = /lib/libbz2.so.1 (0xb75ca000)
libidn.so.11 = /usr/lib/libidn.so.11 (0xb759a000)
libexpat.so.1 = /usr/lib/libexpat.so.1 (0xb757a000)
libc.so.6 = /lib/libc.so.6 (0xb7417000)
libxcb.so.1 = /usr/lib/libxcb.so.1 (0xb73fe000)
/lib/ld-linux.so.2 (0xb78b4000)
libm.so.6 = /lib/libm.so.6 (0xb73d8000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb73d5000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb73d)

$ urxvt -h
rxvt-unicode (urxvt) v9.07 - released: 2009-12-27
options:
perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+
jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,
selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,
scrollbars=plain+rxvt+NeXT+xterm

Fonts used:
urxvt*font: xft:DejaVu Sans Mono-13,\
[codeset=big5]xft:AR PL UMing TW-14,\
[codeset=gb18030]xft:AR PL UMing CN-14

Locale variables:
export LC_COLLATE=C
export LC_CTYPE=zh_TW.utf8# use zh_TW input method
export LANG=en_US.utf8# but the UI should be in English!

--
Sincerely,

Richard Boyechko
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Displaying Big5 Charset

2010-07-13 Thread Miciah Dashiel Butler Masters
On Tue, Jul 13, 2010 at 02:59:09AM -0400, Richard R. Boyechko wrote:

Dear Elinkers,

I have been using elinks for several years for an occasional web
browsing when X is not available, but over the past couple of weeks
have switched to using elinks almost exclusively for all my browsing
needs. As part of that, I am trying to view a Big5-encoded website
[1]. Try as I may, however, I cannot get it to display anything but
gibberish. Could anyone help me figure out what I'm doing wrong, or at
least unequivocally say that it's not supported and won't work?
[...]

ELinks does not support Big5 (or GB2312).  There is a report on
Bugzilla, should use iconv for charset that it doesn't know:

http://bugzilla.elinks.cz/show_bug.cgi?id=891

It would be wonderful if somebody implemented that (and it has been
discussed several times), but it would be a good amount of work.

Best regards,

-- 
Miciah Dashiel Butler Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users