]> source.dussan.org Git - tigervnc.git/commit
Clean up string encoding handling
authorPierre Ossman <ossman@cendio.se>
Sat, 18 Mar 2023 12:53:26 +0000 (13:53 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 30 Jun 2023 19:39:44 +0000 (21:39 +0200)
commitc061a78dc1f7242cfcaf42049d5248e4eed39ff4
tree6126e1d9944e1cc3208514eb3369a8b7f3d45759
parent19df176862ff0687cabc435056061a1b6cbe9ff2
Clean up string encoding handling

We should handle this in the low-level protocol code as much as possible
to avoid mistakes. This way the rest of the code can assume that strings
are always UTF-8 with \n line endings.
13 files changed:
common/rfb/CConnection.cxx
common/rfb/CMsgReader.cxx
common/rfb/CMsgWriter.cxx
common/rfb/SConnection.cxx
common/rfb/SMsgReader.cxx
common/rfb/SMsgWriter.cxx
common/rfb/util.cxx
common/rfb/util.h
tests/unit/unicode.cxx
unix/xserver/hw/vnc/RFBGlue.cc
unix/xserver/hw/vnc/RFBGlue.h
unix/xserver/hw/vnc/vncSelection.c
vncviewer/Viewport.cxx