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

Input file should be in UTF-8 #1

Open
krandma opened this issue Aug 21, 2012 · 0 comments
Open

Input file should be in UTF-8 #1

krandma opened this issue Aug 21, 2012 · 0 comments

Comments

@krandma
Copy link

krandma commented Aug 21, 2012

Greetings from Erply! We are delighted that you have shared this work on GitHub.

One note: Erply API expects all input encoded in UTF-8. Your attached sample file is in latin-1 (or Windows-1252, or similar one-byte encoding), as far as I see, that is why it did not import.

So either the sample file should be converted to UTF-8 (instructing others to do the same with their input files), or the script should include a conversion routine eg.
utf8_encode($str)
or
mb_convert_encoding($str, "UTF-8", "Windows-1252");

Best regards,
Kristjan Randma
ERPLY Develpment

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

1 participant