• Joel Martin's avatar
    websockets: Add UTF-8 encoding support. · 430b8f24
    Joel Martin authored
    This is not completely standard UTF-8 encoding. Only code points 0-255
    are encoded and never encoded to more than two octets. Since '\x00' is
    a WebSockets framing character, it's easier for all parties to encode
    zero as '\xc4\x80', i.e. 194+128, i.e. UTF-8 256.
    
    This means that a random stream will be slightly more than 50% larger
    using this encoding scheme. But it's easy CPU-wise for client and
    server to decode/encode. This is especially important for clients
    written in languages that have weak bitops, like Javascript (i.e. the
    noVNC client).
    Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    430b8f24
Name
Last commit
Last update
..
tightvnc-filetransfer Loading commit data...
Makefile.am Loading commit data...
auth.c Loading commit data...
cargs.c Loading commit data...
config.h Loading commit data...
corre.c Loading commit data...
cursor.c Loading commit data...
cutpaste.c Loading commit data...
draw.c Loading commit data...
font.c Loading commit data...
hextile.c Loading commit data...
httpd.c Loading commit data...
main.c Loading commit data...
md5.c Loading commit data...
md5.h Loading commit data...
private.h Loading commit data...
rfbconfig.h Loading commit data...
rfbregion.c Loading commit data...
rfbserver.c Loading commit data...
rre.c Loading commit data...
scale.c Loading commit data...
scale.h Loading commit data...
selbox.c Loading commit data...
sockets.c Loading commit data...
stats.c Loading commit data...
tableinit24.c Loading commit data...
tableinitcmtemplate.c Loading commit data...
tableinittctemplate.c Loading commit data...
tabletrans24template.c Loading commit data...
tabletranstemplate.c Loading commit data...
tight.c Loading commit data...
translate.c Loading commit data...
ultra.c Loading commit data...
websockets.c Loading commit data...
zlib.c Loading commit data...
zrle.c Loading commit data...
zrleencodetemplate.c Loading commit data...
zrleoutstream.c Loading commit data...
zrleoutstream.h Loading commit data...
zrlepalettehelper.c Loading commit data...
zrlepalettehelper.h Loading commit data...
zrletypes.h Loading commit data...