{"id":5220,"date":"2017-10-12T21:54:15","date_gmt":"2017-10-12T21:54:15","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=5220"},"modified":"2017-12-07T21:37:57","modified_gmt":"2017-12-07T21:37:57","slug":"converting-scsa-or-scsz-from-ebcdic-into-unicode","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/converting-scsa-or-scsz-from-ebcdic-into-unicode\/","title":{"rendered":"Converting .scsa or scsz from EBCDIC into Unicode"},"content":{"rendered":"<p>Converting an IBM spool file from EBCDIC into Unicode is required if you\u2019re going to use the \u201cText to XML\u201d preprocessor on an .scsa file or a .scsz file, both of which use EBCDIC character encoding.<\/p>\n<p>1. If you try to use an EBCDIC-encoded file in a project that has a \u201cText to XML Converter\u201d preprocessor, the text will be garbled and you won\u2019t be able to make sense of it. Like this:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5221\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1.png\" alt=\"\" width=\"670\" height=\"191\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1.png 670w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1-300x86.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1-150x43.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1-250x71.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1-550x157.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC1-631x180.png 631w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p>2. To fix this, create a project to be used only as a subproject. Add a page; add a form. Save the file, perhaps with the name \u201cConvertEBCDICToUnicode\u201d.<\/p>\n<p>3. Right click on Preprocessors in the parent project, select \u201cAdd preprocessor\u201d, then \u201cProject\u201d. In the dialog, select the \u201cConvertEBCDICToUnicode.efz\u201d project and choose the Output format as \u201cText\u201d.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5223\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid.png\" alt=\"\" width=\"408\" height=\"156\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid.png 408w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid-300x115.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid-150x57.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC-mid-250x96.png 250w\" sizes=\"(max-width: 408px) 100vw, 408px\" \/><\/a><\/p>\n<p>4. Now, when you add the \u201cText to XML Converter\u201d preprocessor, the text will be readable in the parent project, like this:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-5222\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2.png\" alt=\"\" width=\"708\" height=\"190\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2.png 708w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2-300x81.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2-150x40.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2-250x67.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2-550x148.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/10\/EBCDIC2-671x180.png 671w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/><\/a><\/p>\n<h2>NOTE: Use a fixed font as opposed to a proportional font, with a size of 10 characters per inch.<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Converting an IBM spool file from EBCDIC into Unicode is required if you\u2019re going to use the \u201cText to XML\u201d preprocessor on an .scsa file or a .scsz file, both of which use EBCDIC character encoding. 1. If you try to use an EBCDIC-encoded file in a project that has a \u201cText to XML Converter\u201d [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,58],"tags":[220,6,132],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/5220"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=5220"}],"version-history":[{"count":2,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/5220\/revisions"}],"predecessor-version":[{"id":5827,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/5220\/revisions\/5827"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=5220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=5220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=5220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}