-
Notifications
You must be signed in to change notification settings - Fork 81
Chinese word become unrecognizable code using "addSchema(SCHEMA,scriptSources)" method #115
Comments
@flian sorry for delay (PRs make it faster:)) - I added tests to see if I can reproduce issue you raised, but it passed nicely on my machine (os x) - let's see if other OS'es are fine as well. Tried several major mysql versions as well (5.6, 5.7). btw - what OS are you using? |
@viliusl I'm using Windows7/Windows10. just test on my Windows10 laptop, seems issue still there. |
@viliusl just run integrate test on branch "chinese-fix"
|
@flian thanks alot for checking this out. Sadly https://ci.appveyor.com/project/viliusl/wix-embedded-mysql/build/496/job/ye36juajk7x1fd6c#L880 is failing:/ Guess will need to figure out out before merging. |
seems "ExtendedCharsetTest" failing: case 1 - "EmbeddedMysql instance", it work fine on my laptop. review ci logs, I guess some platform can't support non-latin charset as mySQL username&password In my case, we use embeddedMysql import seeds data from sql file and run integration test. anyway, I will try to find out why case 1 and case 3 is not working on CI. |
@flian - I added those cases just to figure out what works and what not. I could drop case 1 for now, but just for symmetry I would want case 2 and case 3 to work. Will dig into it myself. |
@flian - I released version 3.0.2 with fixes for migrations with non-latin characters. Would be awesome if you could verify it does the trick for you and close issue if it does. Thanks! |
@viliusl Thanks very much. Just upgrade to 3.0.2, work great. |
Using bellow cofig to start embedded-mysql:
where db/001_init.sql:
after mysql start, "你好!" become unrecognizable code in table.
after research, probability fix:
add paramter to MysqlClient.java about line 54, after "--password=" with
"--default-character-set=utf8".
The text was updated successfully, but these errors were encountered: