Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- Date: Tue, 15 Sep 2020 21:33:24 +0900
- From: eizietheez@example.com
- Subject: Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- References: <CA+su7OUw8609q6MjWGQow1jC-CnyZ2wUTaWDaK+HT_jRK+5Vog@mail.gmail.com> <CAAhy3dvC2LG1MZHq3BEiJC+dT0-c7j4FTBCB9+uCOKS=T7i5Lw@mail.gmail.com> <CA+su7OV0Q_7TRR00dur40ATkKgxmqsOWgZi89N0rUd+BWtJV0g@mail.gmail.com> <2WCJVSSK7PDKK.2A16EBZE6CDLR@wilsonb.com> <CA+su7OX4+brW8A74_KXSGZbiBJROsqwMsR=g2VhSr0TmpXbJGg@mail.gmail.com> <3QA1VE4VQ6135.2H2GC1GY2TKPQ@wilsonb.com> <24416.44092.886266.574645@turnbull.sk.tsukuba.ac.jp>
- User-agent: mblaze/0.7
"Stephen J. Turnbull" <turnbull.stephen.fw@example.com> wrote: > There's no evidence whatsoever there that you created an euc-jp file. > In fact, given the output from file, it seems likely enough that it's > an ISO-8859-1 file, or even US-ASCII. You need to do something like > this: Hah! Nice. I had guessed that ISO-8859 was the spec for EUC-JP, but I was way off. Thanks for the prod! > The method you used edits a local file displaying in a *term on the > local machine then transfers the file to the remote. Edgar prefers to > use a *term originating on the remote machine to edit on the remote > machine. Cheers. Partly, I am just trying to offer another option here. Fiddling with terminal character encodings seems really annoying, so I figured someone here might get value out of a method capable of transparently handling euc-jp files without having to muck with it every time. > In Edgar's approach, whether you need to tell the *term what the > encoding is depends on how your vim is configured on the remote > machine. If (as seems extremely likely, given that the remote system > is so old that it uses EUC-JP natively) it defaults to simply > splatting bytes from the editing buffer to the screen, then the > terminal needs to know what encoding is coming at it so it knows (1) > how to break up the bytestream into characters, and (2) which index > file to use to look up glyphs in the font files. Oh! This is a somewhat different issue. Now I wonder if openssh can transparently convert encodings for us...Attachment: signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- From: Stephen J. Turnbull
- References:
- [tlug] What's the easiest way to edit EUC-JP files on a remote server from an Ubuntu 20.04 desktop?
- From: Edmund Edgar
- Re: [tlug] What's the easiest way to edit EUC-JP files on a remote server from an Ubuntu 20.04 desktop?
- From: Raymond Wan
- [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an Ubuntu 20.04 desktop?
- From: Edmund Edgar
- Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an Ubun
- From: eizietheez
- Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an Ubun
- From: Edmund Edgar
- Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- From: eizietheez
- Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] What's the easiest way to edit EUC-JP files on a remote server from an Ubuntu 20.04 desktop?
- Next by Date: Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an Ubun
- Previous by thread: Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- Next by thread: Re: [tlug] [RESOLVED] Re: What's the easiest way to edit EUC-JP files on a remote server from an
- Index(es):