Page 1 of 1

Errors with special character when accessing Python

Posted: Mon Jun 16, 2025 6:53 am
by hfc
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?

Re: Errors with special character when accessing Python

Posted: Wed Jun 18, 2025 4:47 pm
by EViews Steve
try using the unicode code point value instead:
Screenshot 2025-06-18 at 4.45.41 PM.png
Screenshot 2025-06-18 at 4.45.41 PM.png (8.29 KiB) Viewed 223186 times
Steve

Re: Errors with special character when accessing Python

Posted: Fri Jul 04, 2025 6:47 am
by hfc
Thanks!