diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-persist.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp index b3620b3fc..a69c55aad 100644 --- a/embed/mozilla/mozilla-embed-persist.cpp +++ b/embed/mozilla/mozilla-embed-persist.cpp @@ -311,10 +311,9 @@ impl_to_string (EphyEmbedPersist *persist) nsAutoString aOutputString; encoder->EncodeToString(aOutputString); - return g_strdup (NS_ConvertUCS2toUTF8(aOutputString).get()); + return g_strdup (NS_ConvertUTF16toUTF8(aOutputString).get()); } - static GObject * mozilla_embed_persist_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) |