mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
use UTF8ToNewUnicode for UTF-8 strings, instead of ToNewUnicode which treats
the data as ISO-8859-1 270243 patch by chpe@gnome.org r=marco sr=darin
This commit is contained in:
parent
11fc8babff
commit
0d27519211
@ -331,19 +331,19 @@ EmbedPrompter::GetConfirmValue(PRBool *aConfirmValue)
|
||||
void
|
||||
EmbedPrompter::GetTextValue(PRUnichar **aTextValue)
|
||||
{
|
||||
*aTextValue = ToNewUnicode(mTextValue);
|
||||
*aTextValue = UTF8ToNewUnicode(mTextValue);
|
||||
}
|
||||
|
||||
void
|
||||
EmbedPrompter::GetUser(PRUnichar **aUser)
|
||||
{
|
||||
*aUser = ToNewUnicode(mUser);
|
||||
*aUser = UTF8ToNewUnicode(mUser);
|
||||
}
|
||||
|
||||
void
|
||||
EmbedPrompter::GetPassword(PRUnichar **aPass)
|
||||
{
|
||||
*aPass = ToNewUnicode(mPass);
|
||||
*aPass = UTF8ToNewUnicode(mPass);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user