use charset for dbconn in sf1.1

also made this file PSR2, interesting stuff on line 170