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:
cbiesinger%web.de 2005-01-15 19:25:25 +00:00
parent 11fc8babff
commit 0d27519211

View File

@ -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