Skip to content
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

Charset different from UTF-8 #27

Open
fippu82 opened this issue Nov 15, 2017 · 3 comments
Open

Charset different from UTF-8 #27

fippu82 opened this issue Nov 15, 2017 · 3 comments

Comments

@fippu82
Copy link

fippu82 commented Nov 15, 2017

I have files with the encoding Windows-1252. In this case, the below error is thrown.
(ASCII=xx has different numbers depending on the input file).

PHP Warning: Unexpected character in input: '' (ASCII=14) state=0 in /tmp/MySQLConverterTool-master/Converter.php on line 313

@alexschwarz89
Copy link

+1 you got any solution for this?

@fippu82
Copy link
Author

fippu82 commented Nov 21, 2018

@alexschwarz89 Sadly not. I gave up and rewrote the code instead.

@fippu82
Copy link
Author

fippu82 commented Nov 25, 2018

@alexschwarz89 I just tried it again on a different server and with different files (also Windows-1252 encoded) and didn't run into this problem anymore. I can't tell why. If it doesn't work for you, maybe it helps to just save the files as UTF-8 encoded.

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

No branches or pull requests

2 participants