Re: [w3c/clipboard-apis] Fix `clipboard.readText()` algorithm (PR #238)

@Gae24 commented on this pull request.



>  
-       1. If |representation|'s [=representation/MIME type=] [=MIME type/essence=] is "text/plain", then:
+        1. Resolve |p| with |systemClipboardRepresentation|'s [=system clipboard representation/data=].

Actually, [data](https://w3c.github.io/clipboard-apis/#system-clipboard-representation) is defined as a sequence of bytes. So, should we always return the result of [=UTF-8 decoding=] data's bytes?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/238#discussion_r2185488460
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/pull/238/review/2987429631@github.com>

Received on Friday, 4 July 2025 14:20:07 UTC