FLAM Issue Tracker - FL5
View Issue Details
0000772FL52.2 Subprogram FLUC (CONV)public2015-12-21 12:422015-12-25 09:38
Falk Reichbott 
Falk Reichbott 
highmajorsometimes
resolvedfixed 
GeneralGeneralGeneral
5.1.10 
5.1.115.1.10 
0000772: Auto base decoding at read.char/text() result sometimes in errors or demaged data
At read.char/text() an additional base decoding is done after decompression if XML, TEXT or CHAR detected as result. Sometimes this addtional base decoding (CHAR) can result in a valid character stream (CHAR) or text for a origin that was a real character stream or text and not a Base-Encoding, but all characters of this origin are valid for base decoding.

For example: "Dies ist eine Testdatei" in EBCDIC result after BASE32 decoding in a valid but nonsensical ASCII text.

Esspecial for short data stream such a false detection could be happen.
No tags attached.
Issue History
2015-12-21 12:42Falk ReichbottNew Issue
2015-12-21 12:42Falk ReichbottStatusnew => assigned
2015-12-21 12:42Falk ReichbottAssigned To => Falk Reichbott
2015-12-21 15:30Falk ReichbottNote Added: 0000939
2015-12-21 15:30Falk ReichbottStatusassigned => resolved
2015-12-21 15:30Falk ReichbottFixed in Version => 5.1.11
2015-12-21 15:30Falk ReichbottResolutionopen => fixed
2015-12-25 09:38Falk ReichbottFixed in Version5.1.11 => 5.1.10

Notes
(0000939)
Falk Reichbott   
2015-12-21 15:30   
The default is now DECODE=CMPDEC and this results only in an additional base decoding after decompression if the resulting character or text stream a unique format (currently this is only the case for XML). The default behavior don't decode at read.text() if the result is TEXT or at read.char() if the result is TEXT or CHAR. To enforce this old behavior you must set DECODE=ALWAYS which was the old default. You can change the default behavior back to the old one by defining the property:

 FLCL.CONV.READ.CHAR/TEXT.DECODE="ALWAYS"