Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

migrators should connect with utf-8 by default #220

Closed
tomash opened this Issue Sep 23, 2010 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

tomash commented Sep 23, 2010

Currently migrators (tested with Mephisto) don't pull utf8-encoded data properly from the DB. Sequel needs an extra parameter for that, i.e. line
db = Sequel.mysql(dbname, :user => user, :password => pass, :host => host)
should be changed to
db = Sequel.mysql(dbname, :user => user, :password => pass, :host => host, :encoding => 'utf8')

If you prefer, I can fix it myself and send a pull request?

Contributor

mojombo commented Nov 17, 2010

If you can patch it and test it locally, I'll be happy to accept a pull request.

Contributor

tomash commented Nov 18, 2010

ok, pull request sent. works for me ;)

Contributor

tomash commented Nov 18, 2010

migrators now open Sequel connection to mysql with utf8 encoding. Closed by 9396c9d

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.