[Rt-commit] rt branch, 4.2/siteconfig-utf8, created. rt-4.2.10-239-g88d7c50
Alex Vandiver
alexmv at bestpractical.com
Tue Apr 28 15:24:44 EDT 2015
The branch, 4.2/siteconfig-utf8 has been created
at 88d7c508d224fc09f7b1430a4945643d28e469e6 (commit)
- Log -----------------------------------------------------------------
commit 73c740ed897af41bfd84b3ebc3dd542bfe272511
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Apr 28 15:23:25 2015 -0400
Mark RT_SiteConfig.pm as encoded in UTF-8 by default
If configuration parameters (for example, format strings) reference
non-ASCII words, perl treats the high-bit characters as ISO-8859-1 by
default. Explicitly specify that strings in source code are UTF-8
encoded via "use utf8;"
diff --git a/etc/RT_SiteConfig.pm b/etc/RT_SiteConfig.pm
index 390a351..f271d40 100644
--- a/etc/RT_SiteConfig.pm
+++ b/etc/RT_SiteConfig.pm
@@ -1,3 +1,5 @@
+use utf8;
+
# Any configuration directives you include here will override
# RT's default configuration file, RT_Config.pm
#
@@ -5,6 +7,9 @@
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
+# If this file includes non-ASCII characters, it must be encoded in
+# UTF-8.
+#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
commit 88d7c508d224fc09f7b1430a4945643d28e469e6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Apr 28 15:24:24 2015 -0400
Trim trailing whitespace
diff --git a/etc/RT_SiteConfig.pm b/etc/RT_SiteConfig.pm
index f271d40..21b43ac 100644
--- a/etc/RT_SiteConfig.pm
+++ b/etc/RT_SiteConfig.pm
@@ -1,6 +1,6 @@
use utf8;
-# Any configuration directives you include here will override
+# Any configuration directives you include here will override
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
-----------------------------------------------------------------------
More information about the rt-commit
mailing list