2
editor/ui/composer/content/editor.js | 1 +
3
1 file changed, 1 insertion(+)
5
## 65_composer_charset.patch converted from dpatch file initially by Mike Hommey <glandium@debian.org>
7
# Align editor character set with meta tag character set at document
10
Index: iceape-1.1.4/editor/ui/composer/content/editor.js
11
===================================================================
12
--- iceape-1.1.4.orig/editor/ui/composer/content/editor.js
13
+++ iceape-1.1.4/editor/ui/composer/content/editor.js
14
@@ -2494,16 +2494,17 @@
15
if ( prefCharsetString && prefCharsetString != 0)
17
element = domdoc.createElement("meta");
20
element.setAttribute("http-equiv", "content-type");
21
element.setAttribute("content", "text/html; charset=" + prefCharsetString);
22
headelement.insertBefore( element, headelement.firstChild );
23
+ editor.documentCharacterSet = prefCharsetString;
28
var listlength = nodelist.length;
30
// let's start by assuming we have an author in case we don't have the pref
31
var authorFound = false;