<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UNIX - Tag - My Tech Info Site</title><link>https://JSnetSystems.github.io/tags/unix/</link><description>My Tech Info Site</description><generator>Hugo 0.154.2 &amp; FixIt v0.4.0-beta</generator><language>en</language><lastBuildDate>Tue, 06 Dec 2022 20:02:48 -0500</lastBuildDate><atom:link href="https://JSnetSystems.github.io/tags/unix/index.xml" rel="self" type="application/rss+xml"/><item><title>Character Encoding - chtag</title><link>https://JSnetSystems.github.io/posts/chtag_post/</link><pubDate>Tue, 06 Dec 2022 20:02:48 -0500</pubDate><guid>https://JSnetSystems.github.io/posts/chtag_post/</guid><category domain="https://JSnetSystems.github.io/categories/uss/">USS</category><description>&lt;p&gt;&lt;img loading="lazy" src='https://JSnetSystems.github.io/posts/chtag_post/cover_chtag.jpeg' alt="Character Encoding for USS" height="722" width="1720"&gt;&lt;/p&gt;
&lt;p&gt;I recently installed IBM Z Open Automation Utilities and Python on z/OS and learned a new command I haven&amp;rsquo;t or needed to use before.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.ibm.com/docs/en/zos/3.2.0?topic=descriptions-chtag-change-file-tag-information" target="_blank" rel="external nofollow noopener noreferrer"&gt;chtag command&lt;/a&gt; for character encoding for EBCDIC.&lt;/p&gt;
&lt;p&gt;After editing some Helloworld.py file using vi editor I recevied the follow error when I try to run the python code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/home/#&amp;gt;python hello.py
SyntaxError: Non-UTF-8 code starting with &amp;#39;\x97&amp;#39; &lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I needed to change the codeset to IBM-1047 for python to run correctly on USS z/OS.&lt;/p&gt;</description></item></channel></rss>