• 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
VisualNaCro Loading commit data...
classes Loading commit data...
client_examples Loading commit data...
common Loading commit data...
examples Loading commit data...
libvncclient Loading commit data...
libvncserver Loading commit data...
rfb Loading commit data...
test Loading commit data...
utils Loading commit data...
vncterm Loading commit data...
x11vnc Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LibVNCServer.spec.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
libvncclient.pc.in Loading commit data...
libvncserver-config.in Loading commit data...
libvncserver.pc.in Loading commit data...
ltmain.sh Loading commit data...
prepare_x11vnc_dist.sh Loading commit data...
tightvnc-1.3dev5-vncviewer-alpha-cursor.patch Loading commit data...