SPSS Statistics

 View Only

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

19 days ago

Statistics

0 Favorited
14 Views
1 Files
0 Shares
3 Downloads
Attachment(s)
png file
output 09.42.37.png   65 KB   1 version
Uploaded - Fri January 07, 2022

Comments

19 days ago

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.

19 days ago

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.