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: Fri, 13 Feb 2015 12:27:51 +0000
Message-ID: <CAAWM5TxxJf7OjR6+JF2jdhmtbaAvqAfHOmLgNobcMh1Jt49c_g@mail.gmail.com>
To: Mathias Bynens <mathiasb@opera.com>
Cc: whatwg <whatwg@whatwg.org>
On Fri, Feb 13, 2015 at 12:23 PM, Mathias Bynens <mathiasb@opera.com> wrote:
> On Fri, Feb 13, 2015 at 1:18 PM, James M. Greene
> <james.m.greene@gmail.com> wrote:
>> In this case, you can use Unicode escape values by preceding them with a
>> slash:
>
> OP’s question wasn’t about how to escape non-ASCII characters, but
> rather about what the copy/paste behavior should be in browsers.
>
> @David, I don’t think it’s reasonable to expect non-ASCII characters
> to be transliterated to ASCII characters copying them. That said, it
> would be nice to standardize on the behavior here: should generated
> content be included when copying or not?

Hi Mathias,

Do you mean that it's not reasonable for transliteration to happen
automatically? I agree.

Do you mean that it's not reasonable to support specific replacements
during copying? Firefox seems to support this currently (and
perfectly).

There are user trickery concerns here but, at least in my case, I
think codepoint -> 2 byte replacement is probably safe...

Thanks,

David
Received on Friday, 13 February 2015 12:28:17 UTC

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