[Xfce4-commits] [www/moka] 06/07: Force UTF-8 usage with passenger
noreply at xfce.org
noreply at xfce.org
Sat Nov 16 18:08:21 CET 2019
This is an automated email from the git hooks/post-receive script.
s k u n n y k p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository www/moka.
commit ad71e1633de0d5608c1b01e8c3c3ac50ee1db2d2
Author: Romain B <skunnyk at alteroot.org>
Date: Wed Dec 6 13:53:27 2017 +0100
Force UTF-8 usage with passenger
- By adding Encoding.default_external = 'UTF-8', moka used with
passenger now support UTF-8 special characters in releases notes without crashing.
---
examples/xfce/config.ru | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/xfce/config.ru b/examples/xfce/config.ru
index 22c40e1..cb5b163 100755
--- a/examples/xfce/config.ru
+++ b/examples/xfce/config.ru
@@ -6,6 +6,8 @@ require 'dm-migrations'
require 'digest/sha1'
require './moka/lib/moka'
+Encoding.default_external = 'UTF-8'
+
# Connect to the database
directory = File.expand_path(File.dirname(__FILE__))
db = File.join(directory, 'example.db')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list