AbsaOSS / cobrix

A COBOL parser and Mainframe/EBCDIC data source for Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace nonbreakable spaces with normal ones in copybooks when loading

yruslan opened this issue · comments

Background

When copybooks are converted from a mainframe, the converter can insert non-breakable spaces (0xA0) instead of normal spaces (0x20) in copybooks.

This confuses parser and field name trimming does not always work.

Feature

Replace 0xA0 characters with 0x20 when copybooks are loaded.