knimepy icon indicating copy to clipboard operation
knimepy copied to clipboard

Add encoding argument to open

Open k-ujihara opened this issue 4 years ago • 1 comments

settings.xml can contain non-ASCII characters such as" ⇒ ", but it cannot be read by systems whose default encoding is not UTF-8.

This can be resolved by adding encoding ="utf_8" argument to open function. Character encoding is embedded in XML, so following it is more desirable .

https://github.com/knime/knimepy/blob/fc10f3840f80f5625d8c10bedceeda5476fc5096/knime.py#L71

Currently below workaround is required.

set PYTHONUTF8=1

k-ujihara avatar Feb 08 '21 09:02 k-ujihara

I am new to open source, how can I contribute to this issue ?

unnumsykar avatar Jul 16 '21 12:07 unnumsykar