Skip to content

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