[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Bug#541704: emacs-snapshot ruins w3m-el-snapshot tables



Package: emacs-snapshot
Version: 1:20090814-1
X-debbugs-cc: 4090@xxxxxxxxxxxxxxxxxxxxxxxxxx, emacs-w3m@xxxxxxxxxx,naota@xxxxxxxxx, svenjoac@xxxxxx

On Debian, using versions
emacs-snapshot 1:20090814-1
emacs23: 23.1+1-2
set /tmp/f.html
cat <<EOF > $@
<table border="1"><tr><td>bla</td></tr></table>
EOF
LC_ALL=zh_TW.UTF-8 emacs-snapshot -f w3m $@ # bad
LC_ALL=C           emacs-snapshot -f w3m $@ # good
LC_ALL=zh_TW.UTF-8 emacs23        -f w3m $@ # good
LC_ALL=C           emacs23        -f w3m $@ # good

One sees that these characters,
 • │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼
vanish in the above "bad" case.

I.e.,
┌───┐
│bla│
└───┘
becomes
─
bla
─

It makes w3m-emacs unusable for browsing any web page with tables.

Can even reproduce with
$ HOME=/tmp LC_ALL=zh_TW.UTF-8 emacs-snapshot -Q -l w3m -f w3m $@ # bad

Also installed is w3m-el-snapshot
Version: 1.4.364+0.20090802-1