On Mon, Jan 07, 2008 at 08:13:04PM +0100, Peter Estrand wrote: > > 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.
Great. > What other kind of string encodings are used in VNC? None that I know of, but I meant in general. Since you didn't specify it, I wanted to eliminate any new string encoding creeping in (like zero- termination etc etc) > 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... The ClientCutText and ServerCutText messages are specified to be Latin-1. I think I'd rather have some pseudo-encoding to make all strings UTF-8. Cheers, Peter _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
