Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Fix potential DB dump encoding issue #155

Open
zpchavez opened this issue Jan 14, 2015 · 0 comments
Open

Fix potential DB dump encoding issue #155

zpchavez opened this issue Jan 14, 2015 · 0 comments

Comments

@zpchavez
Copy link
Contributor

Fix potential DB dump encoding issue

Currently GenerateInstallCommand creates files by using the > operator to redirect the output of mysqldump to a file. Doing so does not ensure that the file will have the desired encoding. We should instead use the option --result-file=filename.sql to ensure that the file has the correct encoding.

http://makandracards.com/makandra/595-dumping-and-importing-from-to-mysql-in-an-utf-8-safe-way
http://nathan.rambeck.org/blog/1-preventing-encoding-issues-mysqldump

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

No branches or pull requests

1 participant