On Mon, 7 Jan 2008, Peter Rosin wrote: > > "A client which requests the DesktopName pseudo-encoding is declaring that > > it is capable of coping with a change of the desktop name. The server > > changes the desktop name by sending a pseudo-rectangle with the > > DesktopName pseudo-encoding in an update. The pseudo-rectangle's > > x-position, y-position, width, and height must be zero. After the > > rectangle header, a string with the new name follows. " > > There are more than one popular way to encode strings, which one have > you selected? U32 name-length followed by U8-array name-string as in > the ServerInitialisation message?
In VNC4-speak, I'm using InStream::readString. This is U32 name-length plus U8 data. What other kind of string encodings are used in VNC? Btw, one thing that I miss somewhat is a character encoding definition. Perhaps it's time to define that the desktop name should be encoded using UTF-8... Rgds, --- Peter Cstrand ThinLinc Chief Developer Cendio AB http://www.cendio.se Wallenbergs gata 4 583 30 LinkC6ping Phone: +46-13-21 46 00 _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
