Could just send it as a binary blob and not as a string (pretend it is opaque binary data, and not a string, use binary functions, not string functions).
On 11/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Well it would be nice if there were a version of string networking that was > binary-safe. > > At 2006/09/03 08:33 PM, Aaron Schiff wrote: > >-- > >[ Picked text/plain from multipart/alternative ] > >You could use a networked string table as well as the index of the string in > >the entity network table. Then you can specify the string length in > >AddString for the user data. > > > >On 9/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > >wrote: > >> > >> I thought there was a forum or mailing list thread on this once before but > >> I can't find it. Basically it seems that the close-source side of the > >> networking does a 0x00-truncated data copy. So you can't send strings > >> along > >> the wire that contain a 0x00 byte in them, such as wide-char strings etc. > >> > >> Anyone know of a work-around? (Short of encoding the base64ing the > >> strings or something like that.) > >> > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > > > > > >-- > >ts2do > >-- > > > >_______________________________________________ > >To unsubscribe, edit your list preferences, or view the list archives, > >please visit: > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

