W3C home > Mailing lists > Public > public-secondscreen@w3.org > November 2015

Re: [presentation-api] Possibility for a character to be interpreted differently depending on locale

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Nov 2015 17:42:41 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-154482294-1446831761-sysbot+gh@w3.org>
Agreed that if string serialization for `send()` is capable of passing
 Unicode characters cleanly, then there shouldn't be an issue with the
 meaning of characters changing over the wire.  The spec should state 
that strings are passed in a way that is Unicode-clean: either 
USVString or the equivalent.

If the document for the receiving context is rendered using a 
non-Unicode encoding, and it receives a Unicode string via 
Presentation API, it's up to the receiving user agent to figure out a 
way to convert it appropriately before inserting it as text into the 
DOM.  Nothing new here as this problem has to also be solved for 
WebSockets, etc.



-- 
GitHub Notif of comment by mfoltzgoogle
See 
https://github.com/w3c/presentation-api/issues/218#issuecomment-154482294
Received on Friday, 6 November 2015 17:42:45 UTC

This archive was generated by hypermail 2.3.1 : Friday, 6 November 2015 17:42:45 UTC