Archived

This forum has been archived. Please start a new discussion on GitHub.

IceUtil.StringUtil.unescapeString doesn't unescape

the method IceUtil.StringUtil.unescapeString doesn't unescape string,
which have been escaped with IceUtil.StringUtil.escapeString.

this leads to the issue descibed in this thread:
http://www.zeroc.com/vbulletin/showpost.php?p=9193&postcount=1
	string test = "1\\/\"";
	string test_esc = IceUtil.StringUtil.escapeString( test, "" );
	string test_unesc = null;
	bool suc = IceUtil.StringUtil.unescapeString( test_esc, 0, test_esc.Length, out test_unesc );

this piece of code has been tested on .NET 1.1 / VS 2003 and .NET 2.0/VS 2005.
ice version is both cases Ice-3.0.0.

THX & CU

Tom

Comments