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

Re: Strange characters displayed in lists



From: Katsumi Yamaoka <yamaoka@xxxxxxx> said
Subject: [emacs-w3m:08754] Re: Strange characters displayed in lists
Message-ID: <b4mu06y62xk.fsf@xxxxxxx>
Date: Tue, 06 Jun 2006 18:36:39 +0900

> SHIRAI-san, does w3m use CSS?  Is it customizable?  Otherwise,
> has it been hard-coded in the w3m executable?  (Anyway, you might
> need to ask the w3m-dev community[1], not this list.)

I think w3m can not use CSS rest of w3m's life :-)

> > Since the behaviour seems to be the correct one, I ask again, if there
> > is already a way to use different characters.
> 
> > The only possibility I see, is to replace the characters with the
> > desired after rendering. What hook should I use to do that?
> 
> I think there's no way to customize it in emacs-w3m, since it
> seems to be mostly impossible to distinguish those characters
> from the ones used in an ordinary text.

No, we can customize if use window system.

If we customize like the below,

(setq w3m-mule-unicode-symbol
      '("┼" "├" "┬" "┌" "┤" "│" "┐" "" "┴" "└" "─" "" "┘" "" ""
	"" "┼" "┠" "┯" "┏" "┨" "┃" "┓" "" "┷" "┗" "━" "" "┛" "" "" ""
	"1" "2" "3" "4" "5" "6" "7" "8" "9" "●" "○" "□" "●" "≪ ↑ ↓ "))

Then, attached 'test.html' looks like the below under UTF-8
environment.

  1 test1
      2 test2
          3 test3
              4 test4
                  5 test5
                      6 test6
                          7 test7
                              8 test8
                                  9 test9

-- 
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)
Title: test
あいかわらず、英語になっていない気がするが、しょーがないな。