Web lists-archives.com

Re: Need multibyte advice - Shift-JIS

On Wed, 27 Feb 2019 08:04:08 -0500
"Randall S. Becker" <rsbecker@xxxxxxxxxxxxx> wrote:

> Hi Git Team,
> I have to admit being perplexed by this one. I have been asked to support
> the Shift-JIS character set in file contents, comments, and logs, for a
> partner of mine. I know there are a few ways to do this, but I'm looking for
> the official non-hacky way to do this. This is CLI only, and our pager,
> less, does not support multi-byte, so I'm looking for options there also.

SJIS is about as much multibyte as UTF-8.

Why do you think less does not support it?

Last time I looked there was SJIS locale for libc so it is only matter
of generating the correct locales and using them. Of course, if you are
running in UTF-8 SJIS will look like garbage.