w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 03aa24cf28ad02710d6a68379b418ba15a366e57
parent 598b16df87edde615ae94dc9e8b6f96000aaa3a6
Author: ukai <ukai>
Date:   Mon, 22 Mar 2004 17:12:33 +0000

* main.c (main): DisplayCharset also follow locale
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 4++++
Mmain.c | 4+++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,9 @@ 2004-03-23 Fumitoshi UKAI <ukai@debian.or.jp> + * main.c (main): DisplayCharset also follow locale + +2004-03-23 Fumitoshi UKAI <ukai@debian.or.jp> + * scripts/w3mhelp.cgi.in: use charset parramter * scripts/w3mhelp-funcdesc.en.pl.in: add charset * scripts/w3mhelp-funcdesc.ja.pl.in: ditto diff --git a/main.c b/main.c @@ -446,8 +446,10 @@ main(int argc, char **argv, char **envp) URLHist = newHist(); #ifdef USE_M17N - if (FollowLocale && Locale) + if (FollowLocale && Locale) { + DisplayCharset = wc_guess_locale_charset(Locale, DisplayCharset); SystemCharset = wc_guess_locale_charset(Locale, SystemCharset); + } auto_detect = WcOption.auto_detect; #endif