Re: Encoding italic

From: Rebecca Bettencourt via Unicode <unicode_at_unicode.org>
Date: Fri, 8 Feb 2019 13:02:06 -0800

+∞

-- 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
>
>
>
Received on Fri Feb 08 2019 - 15:02:35 CST

This archive was generated by hypermail 2.2.0 : Fri Feb 08 2019 - 15:02:35 CST