git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Need multibyte advice - Shift-JIS

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Feb 27, 2019, 18:50 UTC
Message-ID
<003301d4cecd$4bced250$e36c76f0$@nexbridge.com>
In-Reply-To
<20190227191814.054c2f3c@kitsune.suse.cz>
On February 27, 2019 13:18, Michal Suchánek wrote:
Show 27 quoted lines
> On Wed, 27 Feb 2019 12:59:15 -0500
> "Randall S. Becker" <rsbecker@nexbridge.com> wrote:
> 
> > On February 27, 2019 12:51, Michal Suchánek wrote:
> > > To: Randall S. Becker <rsbecker@nexbridge.com>
> > > Cc: git@vger.kernel.org
> > > Subject: Re: Need multibyte advice - Shift-JIS
> > >
> 
> > I'm sorry if I was not clear about all this. NonStop is not a Linux platform. It
> is POSIX. Not all utilities are available and not all utilities have all capabilities.
> lv is not available for the platform. less considers the data binary and displays
> what usually is displayed when you try to use it for binary multibyte. You get
> @^@- and such. It does not present the data in the correct character set for
> the user.
> >
> > This was only one part of my original question. I am searching elsewhere
> for support on pagers, because this really is not an appropriate discussion for
> the git group to focus on, do let's drop this, please, as not worth continuing.
> My original request was more about how to set up the file attributes,
> difference engine, and the rest of the git infrastructure. The partner I am
> working with is doing this with git hooks, which I am not really happy about.
> Let's prune this discussion as not worthy.
> >
> 
> Yes, this is totally unclear. Setting git hooks is possible but setting
> LESSCHARDEF is not?
It can enter the environment simply through .profile, where we can change GIT_PAGER. We have established that separately.
> Is patching git acceptable or is that out of question too?
I have done a bunch of git patching, where specifically.
> What are your requirements, exactly?
Source code and comments contain SJIS content. The requirement is to be able to move seamlessly in and out of git, and have git show/diff/log display SJIS as well as ASCII content. How that happens is open. The UTF-16 is a red-herring, only as an attempt at getting at SJIS content differently than the limitation imposed by less.
Previous: Michal SuchánekNext: Michal Suchánek
Message 15 of 18 in “Need multibyte advice - Shift-JIS”
  1. Randall S. BeckerFeb 27, 2019
  2. Michal SuchánekFeb 27, 2019
  3. Randall S. BeckerFeb 27, 2019
  4. Michal SuchánekFeb 27, 2019
  5. Randall S. BeckerFeb 27, 2019
  6. Michal SuchánekFeb 27, 2019
  7. Randall S. BeckerFeb 27, 2019
  8. Michal SuchánekFeb 27, 2019
  9. Randall S. BeckerFeb 27, 2019
  10. Michal SuchánekFeb 27, 2019
  11. Randall S. BeckerFeb 27, 2019
  12. Michal SuchánekFeb 27, 2019
  13. Randall S. BeckerFeb 27, 2019
  14. Michal SuchánekFeb 27, 2019
  15. Randall S. BeckerFeb 27, 2019
  16. Michal SuchánekFeb 27, 2019
  17. Johannes SixtFeb 27, 2019
  18. Randall S. BeckerFeb 27, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.