From 9e5495e169ef0cb888a91a1ead62bc81e1b2bdba Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 21 Oct 2012 21:40:48 +0200 Subject: Correction encodage UTF-8, correction pageur + ajout champ séléction page latest.cgi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf.rb') diff --git a/conf.rb b/conf.rb index f855594..e031265 100644 --- a/conf.rb +++ b/conf.rb @@ -5,4 +5,4 @@ MySQL = { "host" => "localhost", } $db = DBI.connect("DBI:Mysql:" + MySQL["db"] + ":" + MySQL["host"], MySQL["user"], MySQL["passwd"]) - +$db.execute("SET NAMES 'utf8'") -- cgit v1.2.3-54-g00ecf