Encoding italic

Rebecca Bettencourt via Unicode unicode at unicode.org
Fri Feb 8 15:02:06 CST 2019


+∞

-- Rebecca Bettencourt


On Fri, Feb 8, 2019 at 12:55 PM Doug Ewell via Unicode <unicode at unicode.org>
wrote:

> I'd like to propose encoding italics and similar display attributes in
> plain text using the following stateful mechanism:
>
> •       Italics on: ESC [3m
> •       Italics off: ESC [23m
> •       Bold on: ESC [1m
> •       Bold off: ESC [22m
> •       Underline on: ESC [4m
> •       Underline off: ESC [24m
> •       Strikethrough on: ESC [9m
> •       Strikethrough off: ESC [29m
> •       Reverse on: ESC [7m
> •       Reverse off: ESC [27m
> •       Reset all attributes: ESC [m
>
> where ESC is U+001B.
>
> This mechanism has existed for around 40 years and is already supported
> as widely as any new Unicode-only convention will ever be.
>
> --
> Doug Ewell | Thornton, CO, US | ewellic.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/unicode/attachments/20190208/1ae094bc/attachment.html>


More information about the Unicode mailing list