The Case Against Autodecode

Wyatt via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 12:40:13 PDT 2016


On Tuesday, 31 May 2016 at 19:20:19 UTC, Timon Gehr wrote:
>
> The 'length' of a character is not one in all contexts.
> The following text takes six columns in my terminal:
>
> 日本語
> 123456

That's a property of your font and font rendering engine, not 
Unicode. (Also, it's probably not quite six columns; most fonts 
I've tested, 漢字 are rendered as something like 1.5 characters 
wide, assuming your terminal doesn't overlap them.)

-Wyatt


More information about the Digitalmars-d mailing list