niumainframe / webjcl

Web-based IBM mainframe IDE.
15 stars 12 forks source link

Ensure that bad EBCDIC / ASCII coming from marist is handled properly #16

Open scvnc opened 11 years ago

scvnc commented 11 years ago

This usually happens when you try to print regions with packed decimals.

This will have to be checked in multiple spots. The JESWorker reads the file and then sticks it in an object as a string. Will javascript blow up, or will it preserve the bad ascii value?

This ought to be solved by the editor if possible-- it should display the bad character properly.

scvnc commented 11 years ago

ACE appears to handle this nicely, typically showing a pink dot when the character is invalid ascii. Perhaps a postprocessor should handle converting bad values into some form of notation.