Fixed an SQL encoding issue. UTF-8 is now used as the default encoding