зеркало из https://github.com/mozilla/pjs.git
Changed to use ToNewUTF8String instead of ToNewCString in order to avoid data loss of non latin1 data,
contributed by m_kato@ga2.so-net.ne.jp, r=chuang,nhotta.
This commit is contained in:
Родитель
ac84f92a46
Коммит
52c54d05da
|
@ -425,7 +425,7 @@ nsAddbookProtocolHandler::GeneratePrintOutput(nsIAddbookUrl *addbookUrl,
|
|||
else
|
||||
rv = BuildAllHTML(aDatabase, directory, workBuffer);
|
||||
|
||||
*outBuf = workBuffer.ToNewCString();
|
||||
*outBuf = workBuffer.ToNewUTF8String();
|
||||
|
||||
EarlyExit:
|
||||
// Database is open...make sure to close it
|
||||
|
|
Загрузка…
Ссылка в новой задаче