Bug 520406 - german umlauts are not decoded correctly; also add missing callback in subscribe.

This commit is contained in:
alta88@gmail.com 2009-11-03 13:52:44 -07:00
Родитель 7d3e601297
Коммит e28a8779ef
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -329,7 +329,7 @@ let Subscriber = {
this.doSubscribe();
},
doSubscribe: function() {
doSubscribe: function(aCallback) {
this.account.refresh(null);
// If error on connect, or error due to null result.doc (not a feed) despite

Просмотреть файл

@ -283,7 +283,8 @@ SnowlFeed.prototype = {
let request = new Request({
// The feed processor is going to parse the response, so we override
// the MIME type in order to turn off parsing by XMLHttpRequest itself.
overrideMimeType: "text/plain",
// XXX: overrideMimeType removed, text/plain hoses non ascii, ???
// overrideMimeType: "text/plain",
url: this.machineURI,
// Listen for notification callbacks so we can handle authentication.
notificationCallbacks: this