W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2015

Re: [whatwg] Unicode -> ASCII copy/paste fallback

From: David Sheets <kosmo.zb@gmail.com>
Date: Sat, 14 Feb 2015 18:23:40 +0000
Message-ID: <CAAWM5TzLcCwM_hGLsYnU-14ddVrNTxbTB1O+4dd-4amDwJFpYA@mail.gmail.com>
To: Ashley Gullen <ashley@scirra.com>
Cc: "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
On Fri, Feb 13, 2015 at 10:23 PM, Ashley Gullen <ashley@scirra.com> wrote:
> Why is it desirable to copy ASCII versions of unicode text? Doesn't most
> software now support unicode so the user can copy and paste what they see,
> rather than some ASCII-art equivalent?

I am writing a documentation generation tool for a programming language
with right arrows represented as -> but would like to render them as →.

> On 13 February 2015 at 15:45, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>
>> On 2/13/15 10:15 AM, David Sheets wrote:
>>
>>> I suppose currently Chrome is preventing copying hidden content but
>>> Firefox is not and neither picks up the CSS content.
>>>
>>
>> Both prevent copying hidden content, but may not have identical
>> definitions of "hidden".
>>
>> Neither picks up CSS generated content, because both represent selections
>> in terms of DOM ranges, and DOM ranges can't represent CSS generated
>> content...
>>
>> -Boris
>>
>>
Received on Saturday, 14 February 2015 18:24:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:27 UTC