Ethereal-dev: [ethereal-dev] unicode_to_str seems to return an empty string

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Thu, 25 Nov 1999 14:38:47 +1000
Hi,

I am trying to fix the problems with Unicode strings, but unicode_to_str
seems to be returning a pointer to an empty string all the time, even
though it gets the length correct.

Another little note is that there seems to be an extra \0\0 after the \0\0
terminating the Unicode string as well.  Very strange.



Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course