mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Fix for bug # 100645. NextToken returns utf-8 string instead of ucs2.
r=dmose, sr=alecf
This commit is contained in:
parent
a1c1addb1e
commit
f0c3a9ac67
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user