On Fri, 12 Jun 2009 16:44:46 +0200
Peter Rosin <p...@lysator.liu.se> wrote:

> 
> RealVNC didn't recommend that the clipboard text in the *CutText messages
> and the string in the ServerInit message should be UTF-8, did they?
> 

Probably not. And to make things more interesting, older versions of
the spec stated that the clipboard should be ASCII. It was extended to
latin1 in 3.8, but I'm not sure any server or client properly handles
backwards compatibility here.

Anyway, I think we should ignore the clipboard for now. It needs a
major upgrade anyway to support non-text data so I don't think we
should think about it at all in this discussion.

> I have no trouble having the string in the new DesktopName pseudo-encoding
> always be UTF-8. It's all those other strings that currently is ASCII
> only (or Latin-1 in the case of *CutText) if you want it to work properly.

I think it can be worth the hassle of stating that ServerInit should be
UTF-8. There will be some interoperability fallout, but the current
implementations aren't properly interoperable as is so I think it's
worth it for the long term gains.

The things currently defined as ASCII are the version string and the
error messages. I see no need to upgrade either of those to UTF-8.

I don't support dropping connections on malformed UTF-8. There is no
problem determining where the string ends, so there is no reason to
terminate the connection.

Rgds
-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to