-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the encode characters issue when run osc_cli command #12
Comments
@lynch0227 Thanks for the report! I'll need more information to reproduce the
As for the parse error, I'm able to reproduce it successfully. Since it's a separate issue, I filed #13 to get it fixed. |
@cenalulu And I don't have specify the --charset option on CLI. |
@lynch0227 Could you try running osc_cli with |
Hi Guys,
I want to create a comment using mandarin language, but got the below errors:
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 238-242: ordinal not in range(256)
Could you fix issue to support the multiple language?
And I have another question, I have to specify the COLLATE 'utf8mb4_general_ci' attribute in column level,
but I got the parse sql errors:
ERROR 2017-05-25 14:37:13.314 INVALID_SYNTAX: Fail to parse: foo.sql Line:
enroll_reason
VARCHAR(1024) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',, Column: 57Failed to parse SQL, unsupported syntax: Expected ")" (at char 634), (line:17, col:57) Most likely is not a valid CREATE TABLE sql. Please make sure it has correct syntax and can be executed in MySQL: Line:
enroll_reason
VARCHAR(1024) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',, Column: 57Failed to parse SQL, unsupported syntax: Expected ")" (at char 634), (line:17, col:57)
Could you please fix it?
Thank you.
The text was updated successfully, but these errors were encountered: