-
Bug
-
Resolution: Fixed
-
Minor
-
1.6.2
-
None
-
non Latin1 env. (esp. ja)
-
MOODLE_16_STABLE
-
MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
lib/editor/htmlarea/popups/select_color.php does not specify its charset using a meta tag. This causes IE (and maybe other browsers) confusing character encoding in non-latin1 environment.
A possible fix is:
— select_color.php.orig Tue Oct 24 19:31:46 2006
+++ select_color.php Tue Oct 24 17:43:33 2006
@@ -1,8 +1,11 @@
<?php
include("../../../../config.php");
?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
+<meta http-equiv="content-type" content="text/html; charset=<?php print_string("thischarset");?>" />
<title><?php print_string("selectcolor","editor");?></title>
<style type="text/css">
html, body