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

Fix encoding error. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

masamitsu-murase
Copy link

If EUC or SJIS file is uploaded, characters are corrupted in match.html.erb,
because Rails expects that characters are UTF-8.

I modified as follows:

  • Convert file data to UTF-8 at the top of match method, and then store to iip.csv_data.
  • Change FasterCSV encoding parameter to UTF-8 from iip.encoding.

If you have any questions, let me know please.

There are too many redmine_importer in GitHub...
I think that your plugin is the best of all!

Regards,
Murase

If EUC or SJIS file is uploaded, characters are corrupted in match.html.erb,
because Rails expect that characters are UTF-8.
octaviogl pushed a commit to octaviogl/redmine_importer that referenced this pull request Jan 10, 2014
Patch to fix import problems
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

Successfully merging this pull request may close these issues.

1 participant