Fix for bug # 100645. NextToken returns utf-8 string instead of ucs2.

r=dmose, sr=alecf
This commit is contained in:
srilatha%netscape.com 2001-09-21 02:24:19 +00:00
parent a1c1addb1e
commit f0c3a9ac67

View File

@ -1021,7 +1021,7 @@ nsLDAPService::NextToken(nsReadingIterator<PRUnichar> & aIter,
++aIter;
}
return token.ToNewCString();
return NS_ConvertUCS2toUTF8(token).ToNewCString();
}
// Note that these 2 functions might go away in the future, see bug 84186.