Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: VI and JIS text (Not S-JIS)
- To: tlug@example.com
- Subject: [tlug] Re: VI and JIS text (Not S-JIS)
- From: Mike Fabian <mfabian@example.com>
- Date: Fri, 01 Mar 2002 15:58:52 +0100
- Content-type: text/plain; charset=iso-2022-jp
- In-reply-to: <20020301105903.63d4f49a.oconnell@example.com> ("JimO'Connell"'s message of "Fri, 1 Mar 2002 10:59:03 +0900")
- References: <20020301105903.63d4f49a.oconnell@example.com>
- Reply-to: mfabian@example.com
- Sender: mfabian@example.com
- User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (ArtificialIntelligence, i386-suse-linux)
"Jim O'Connell" <oconnell@example.com> writes: > This morning, I'm trying to work on some code in vi on Linux, > specifically some code from the Japanese Windows version of Delphi. > The problem is, when I boot into Japanese Gnome, Gvim loads the file > as Shift-JIS, when the encoding is really JIS, so I get 'mojibake' > for the Japanese text. I know Gvim has the option of "set > fe=japan". (fe stands for File Encoding) I tried "set fe=JIS" but > that's not a valid option. > > Anyone run into this before? Is there a "set fe=" option that would > work? > > (I don't want to convert the text out of JIS, because I have to drop > it back into Delphi later to compile.) > I'm running Delphi for Windows, translating strings J->E. I set up > Delphi's editor to display DBCS, but it's that kind of display where > the Japanese text is not really editable - as soon as you go into > the word, it stops being really editable - turns into $%*%^$... Use Vim >= 6.0. You can specify iso-2022-jp encoding when loading a file :e ++enc=iso-2022-jp filename -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- References:
- [tlug] VI and JIS text (Not S-JIS)
- From: Jim O'Connell
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Selective mojibake email
- Next by Date: Re: [tlug] Selective mojibake email
- Previous by thread: [tlug] VI and JIS text (Not S-JIS)
- Next by thread: Re: [tlug] VI and JIS text (Not S-JIS)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links