Mailing List Archive


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

Re: [tlug] [OT] Convert encoded URL to kanji



Nguyen Vu Hung wrote:
>> The filename on the server is in UTF-8, not Shift-JIS.  The repetition
>> of matches for "%E[0-9A-F]%[89AB][0-9A-F]%[89AB][0-9A-F]" is a dead
>> giveaway.
>>
>>     
>
> Stephen,
>
> Currently, the setting on my server is
>
> AddDefaultCharset utf8
>
> But to get kanji displayed correctly in my browser ( Win Xp SP2,
> English, Mozilla Firefox 1.5.6  Japanese version ), I have to set
> 表示>文字エンコーディング to Shift JIS.
>
> I've changed AddDefaultCharset to jis on Apache, restarted it and
> reload the page
>
> http://aoclife.ddo.jp/tmp/ticket+fuji/
>   
The files are encoded in shift_jis not jis (ISO-2022-JP). You can either

1.  set

AddDefaultCharset SHIFT_JIS

2. changing the file encoding

convmv -f shiftjis -t utf8 20030206 富士山_049.jpg .

and setting

AddDefaultCharset utf8



Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links