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

Re: URLencoding vs. *Completions* buffer


From: Naohiro Aota <naota@xxxxxxxxx> さん曰く
Subject: [emacs-w3m:10802] Re: URLencoding vs. *Completions* buffer
Message-ID: <87eiwirmfe.fsf@xxxxxxxxxxxxxxxxx>
Date: Sat, 28 Mar 2009 19:06:45 +0900

> jidanni@xxxxxxxxxxx writes:
>> When I hit TAB at the end of
>> http://radioscanningtw.jidanni.org/index.php?title=
>> in the *Completions* buffer I see
>> http://radioscanningtw.jidanni.org/index.php?title=%E9%A3%9B%E8%88%AA%E7%AE%A1%E7%90%86
>> http://radioscanningtw.jidanni.org/index.php?title=%E9%AB%98%E9%9B%84%E5%B8%82%E6%B6%88%E9%98%B2%E5%B1%80
>> which is useless. I would rather see
>> http://radioscanningtw.jidanni.org/index.php?title=飛航管理
>> http://radioscanningtw.jidanni.org/index.php?title=高雄市消防局
> Thank you for your suggestion. I've changed the code to show the both
> completions: encoded one and decoded one.

(1) 最初から URL にマルチバイト文字が含まれていたら、二重に登録

(2) decode した URL にマルチバイトが含まれていなかったら、二重に


# 昼休みのやっつけ仕事なので、考えが抜けていたらごめんなさい。

白井秀行 (mailto:shirai@xxxxxxxxxxx)