Just to confirm -- this patch also fixes my problems with non-latin databases. I hope it will make it into the official release.
On Jul 18, 2007, at 11:09 AM, Kim Hunter wrote:
Thanks Chris that patch Fixed my problems
Kim
Chris Adams wrote:
This diff should take care of this - I'm not familiar enough with the Ruby libraries to know if there's a better place to do this but it's obviously a trivial patch: Index: Support/lib/connectors/mysql.rb =================================================================== --- Support/lib/connectors/mysql.rb (revision 7747) +++ Support/lib/connectors/mysql.rb (working copy) @@ -98,6 +98,7 @@ if args[0] != :INIT then real_connect(*args) end
- query('SET NAMES utf8;') end def real_connect(host=nil, user=nil, passwd=nil, db=nil,
port=nil, socket=nil, flag=nil) Chris
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate