This has been fixed in CVS for Chicken of the VNC, in file RFBStringReader.m.  Thanks very much for bringing it to our attention!