[Issue 7054] std.format.formattedWrite uses code units count as width instead of characters count
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 9 10:39:10 PST 2016
https://issues.dlang.org/show_bug.cgi?id=7054
Marco Leise <Marco.Leise at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Marco.Leise at gmx.de
--- Comment #6 from Marco Leise <Marco.Leise at gmx.de> ---
Graphemes work until you meet full-width characters.
Graphemes work until you meet full-width characters.
>From Wikipedia: "With fixed-width fonts, a halfwidth character occupies half
the width of a fullwidth character, hence the name."
https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
We need UTF decoding, grapheme clustering, character categorizing,
super-cow-power width specifiers in our writeln.
--
More information about the Digitalmars-d-bugs
mailing list