CASS icon indicating copy to clipboard operation
CASS copied to clipboard

CASE Import may have a UTF-8 import issue.

Open Lomilar opened this issue 6 years ago • 4 comments

Lomilar avatar Jul 17 '19 19:07 Lomilar

ACT Holistic Framework - Learning Skills on CE Production

Lomilar avatar Jul 17 '19 19:07 Lomilar

It appears that Apache's HTTPClient uses ISO-8859-1 encoding by default, which as far as I can tell would affect all of the httpGet and httpPost calls. To be investigated if this is the cause of the other encoding issues we've had as well (such as https://github.com/cassproject/cass-editor/issues/558).

woodkri avatar Jul 22 '19 20:07 woodkri

Line added to installation instructions:

On windows machines or machines where the default character encoding is not UTF-8, you will need to set a Tomcat Java parameter: -Dfile.encoding=UTF-8 to avoid character encoding errors when dealing with unicode characters.

woodkri avatar Jul 25 '19 20:07 woodkri

As was mentioned in cassproject/cass-editor#558, forcing the default encoding to UTF8 would make sense.

Lomilar avatar Jul 31 '19 15:07 Lomilar