# encoding: utf-8 MySQL = { "host" => "localhost", "db" => "RuDynFrame", "user" => "RuDynFrame", "passwd" => "RuDynFrame" } $RepBase = "" $Titre = "RuDynFrame" $Commentaires = true $db = DBI.connect("DBI:Mysql:" + MySQL["db"] + ":" + MySQL["host"], MySQL["user"], MySQL["passwd"]) $db.execute("SET NAMES 'utf8'") $db.execute("SET lc_time_names = 'fr_FR'")