diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2004-01-29 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/EphyHeaderSniffer.cpp: + + Fix encodign conversion of "Untitled" filename suggestion. + Fixes bug #132822. + 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index cfd61913f..8d8e2d0b3 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -286,7 +286,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI) /* 5 One last case to handle about:blank and other untitled pages. */ if (defaultFileName.IsEmpty()) { - defaultFileName.AssignWithConversion(_("Untitled")); + defaultFileName = NS_ConvertUTF8toUCS2 (_("Untitled")); } /* Validate the file name to ensure legality. */ |