…-cpython-plugin/issues/2). Also fixed an issue that affected transferring non-ascii string data into python. For some reason, bytes encoded to UTF-8 by Java cause a problem when decoded in python when they contain non-ascii characters. If non-ascii characters are detected the data is base64 encoded before transferring to python. Decoding base64 on the python side seems to rectify the problem (weird :-)). Also added the an option to specify a python executable to use (rather than assuming 'python' is in the PATH) - the user can now set either the pentaho.cpython.command Java property or PENTAHO_CPYTHON_COMMAND environment variable.
…-cpython-plugin/issues/2). Also fixed an issue that affected transferring non-ascii string data into python. For some reason, bytes encoded to UTF-8 by Java cause a problem when decoded in python when they contain non-ascii characters. If non-ascii characters are detected the data is base64 encoded before transferring to python. Decoding base64 on the python side seems to rectify the problem (weird :-)). Also added the an option to specify a python executable to use (rather than assuming 'python' is in the PATH) - the user can now set either the pentaho.cpython.command Java property or PENTAHO_CPYTHON_COMMAND environment variable.