On Thu, Mar 07, 2002 at 03:54:34PM +0100, [EMAIL PROTECTED] wrote: > I suppose adding a check for the number of bytes that have been copied > to the temp buffer would be in order.
Or, alternatively, implementing "tvb_dbcs_strnlen()", or something such as that, which functions like "tvb_strnlen()" but handles 16-bit characters, and making "display_unicode_string()" work like "display_ms_string()" would be in order.