Welcome to the IBM Community, a place to collaborate, share knowledge, & support one another in everyday challenges. Connect with your fellow members through forums, blogs, files, & face-to-face networking.
Log in
Search Options
Search Options
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Data Science
Topic groups
Global Data Science
Decision Optimization
SPSS Modeler
SPSS Statistics
Watson Studio
Data and AI Learning
User groups
Events
Upcoming Events
On Demand Webinars
IBM Expert TV
Virtual Community Events
All IBM Community Events
Participate
Gamification Program
Post to Forum
Share a Resource
Blogging on the Community
Connect with Data Science Users
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Data Science Elite
Marketplace
Marketplace
IBM Data Science Community
Master the art of data science.
Join now
Skip main navigation (Press Enter).
Toggle navigation
Search Options
spss.submit() affects preceding print() of unicode characters
View Only
Group Home
Discussion
2K
Library
157
Blogs
299
Events
0
Members
1.6K
spss.submit() affects preceding print() of unicode characters
0
Like
Fri January 07, 2022 02:38 PM
Frank Watzl
Statistics
0 Favorited
14 Views
1 Files
0 Shares
3 Downloads
Attachment(s)
output 09.42.37.png
65 KB
1 version
Uploaded - Fri January 07, 2022
Download
Download Document
Please accept the terms of the copyright associated with this attachment before downloading it. Click the link below to read the terms.
Accept
Comments
Frank Watzl
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.
Jon Peck
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.
Data Science
Topic groups
Global Data Science
Decision Optimization
SPSS Modeler
SPSS Statistics
Watson Studio
Data and AI Learning
User groups
Events
Upcoming Events
On Demand Webinars
IBM Expert TV
Virtual Community Events
All IBM Community Events
Participate
Gamification Program
Post to Forum
Share a Resource
Blogging on the Community
Connect with Data Science Users
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Data Science Elite
Marketplace
Marketplace
Copyright © 2019 IBM Data Science Community. All rights reserved.
Powered by Higher Logic