spss.submit() affects preceding print() of unicode characters

 View Only

spss.submit() affects preceding print() of unicode characters 

Fri January 07, 2022 02:38 PM


0 Favorited
1 Files
png file
output 09.42.37.png   65 KB   1 version
Uploaded - Fri January 07, 2022


Fri January 07, 2022 04:43 PM

Thank you, Jon.

For the time being I will isolate the submit statements in separate program blocks. So far I haven't observed any unfavorable side effects of this technique. Python variable values appear to persist across program blocks.

Fri January 07, 2022 03:40 PM

I can see this happening.  It does not happen if the code is run in external mode.

All the text output from the program is stored until END PROGRAM and is then processed to the Viewer.  Something is happening in the Submit code that is causing an encoding error when the text is streamed to the Viewer.
The u251c, for example has gotten transformed to :\\u251c", which is then treated as text, so it prints wrong.

I am submitting this as a bug to Development.