On 10/26/2017 11:31 PM, scsijon wrote:
> Not just japanese, most kanji is usually double-width, some abjad (think
> arabic for simplicity) and a few odd others also use a mix of single and
> double width characters. There is also a few that use half-width and
> single with mixed and some even have
://msdn.microsoft.com/en-us/library/cc194788.aspx
will give you some general idea of the basic formats for kana/kanji, but
really I can only say, good luck with it all.
Date: Wed, 25 Oct 2017 18:42:14 -0500
From: Rob Landley
To: toybox@lists.landley.net
Subject: [Toybox] utf8 display question
I'm adding cut -C to do column-based selection, what should it do about
the middle of double width characters? middle of double width
characters? Right now I'm having it round down, so since japanese text
is double width in monospaced fonts:
$ cat tests/files/utf8/japan.txt && echo
私はガラスを食べられます。それ