#206 Support for EBCDIC based systems.

closed-fixed
1
2011-06-18
2008-12-13
wcn00
No

The ScriptWriter attempts to write scripts to disk for later execution, but it does so with the rowdata written in ascii and the verbs and line feeds in the platform's "file.encoding". This mixture of encodings causes problems when reading and validating the statements. I modified this class to use ISO8859-1 for the CR's and the statics from this class and it now works (for my purposes) ofr Zos and As400). We are using a memory database. These changes are trivial and it would be nice to see them merged into the trunk...

Question; why did you not just use the String.getBytes(encoding) and new String(byte[],encoding) mechanisms instead of writing your own asci converters? It doesn't seem like it should matter what encoding is used for the script files so long as they go out in unicode and come back the same way via a symetrical conversion...
wcn

Discussion

  • wcn00
    wcn00
    2008-12-13

    Modified

     
    Attachments
  • Fred Toussi
    Fred Toussi
    2010-03-16

    • status: open --> closed-fixed
     
  • Fred Toussi
    Fred Toussi
    2011-06-18

    • priority: 5 --> 1