summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlgmathisen <>2008-10-29 15:48:44 +0000
committercarlgmathisen <>2008-10-29 15:48:44 +0000
commit75816a463ad914c82d21b49e7d2b7c49630e9df0 (patch)
tree1e380b59fd430b334a729f48a0c84a32f21e5a60
parent8d8e90c8ff0c11d72ffe8c5e94852f3f9ae4e167 (diff)
Issue 31 - Consider UTF MessageSource_XLIFF class file
-rw-r--r--HISTORY1
-rw-r--r--framework/I18N/core/MessageSource_XLIFF.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index cb4ad56b..1f20bcf8 100644
--- a/HISTORY
+++ b/HISTORY
@@ -54,6 +54,7 @@ NEW: Ticket#853 - Added Drag and drop components (Christophe)
NEW: Ticket#891 - Added method that returns table name to TActiveRecord (Michael)
BUG: Ticket#38 - (trac:835) TValidationSummary, works different when it's showing Javascript Validation than Server Validation (Carl)
ENH: Ticket#32 - (trac:861) Implement ability to specify default service ID (Carl)
+ENH: Ticket#31 - (trac:867) Consider UTF MessageSource_XLIFF class file (Carl)
Version 3.1.2 April 21, 2008
============================
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php
index f962e9a1..4c101bf0 100644
--- a/framework/I18N/core/MessageSource_XLIFF.php
+++ b/framework/I18N/core/MessageSource_XLIFF.php
@@ -502,7 +502,7 @@ class MessageSource_XLIFF extends MessageSource
{
$date = @date('c');
$xml = <<<EOD
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0">
<file
source-language="EN"