Weichen Xu created ZEPPELIN-1301:
------------------------------------
Summary: RInterpreter processHTML has character conversion risk
and may cause error.
Key: ZEPPELIN-1301
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1301
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-interpreter
Reporter: Weichen Xu
The RInterpreter.processHTML do conversion on local URL and turn it into
DataURI format.
The corret code should be read binary bytes from local file and turn it into
Base64.
but here code read local file and turn it into string first using OS default
character encoding, and then turn into Base64.
If the local file encoding is not consistent with OS default character
encoding, error may occur.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)