Errors with special character when accessing Python
Posted: Mon Jun 16, 2025 6:53 am
Hi,
I'm using EViews 14 (Enterprise Edition-Jun 9 2025 Build). After accessing Python (3.13) using the xopen(p) command, if I try to assign a string with a special character (e.g. a nordic letter "ä") to a Python object I get the error "Unknown Python Error". For example, the command xrun(p) a = 'ä' gives an error while using a similar command on a standard character (xrun(p) a = 'a') works fine.
I'm guessing this has something to do with encoding? Is there any way to fix this issue?
I'm using EViews 14 (Enterprise Edition-Jun 9 2025 Build). After accessing Python (3.13) using the xopen(p) command, if I try to assign a string with a special character (e.g. a nordic letter "ä") to a Python object I get the error "Unknown Python Error". For example, the command xrun(p) a = 'ä' gives an error while using a similar command on a standard character (xrun(p) a = 'a') works fine.
I'm guessing this has something to do with encoding? Is there any way to fix this issue?