When I console.log the record the data that is displayed appears to be EBCDIC encoded. Is there a setting I'm missing?
I have several other questions as well but not sure if I should open a separate ticket for each one or is there a better place to ask.
node v12.13.0
_BPXK_AUTOCVT=ON
_CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
Console output.
record=hexadecmal
-bash-4.3$ node app
BCFILE.DATA Found
Record read { key: '@����', record: 'f24040404040d7d3e4e240d9c5c6e4d5c440e3d6' }
f24040404040d7d3e4e240d9c5c6e4d5c440e3d6
record=string
-bash-4.3$ node app
BCFILE.DATA Found
Record read { key: '@����', record: '�@@@@@����@������@��' }
�@@@@@����@������@��
Thanks,
Matt
When I console.log the record the data that is displayed appears to be EBCDIC encoded. Is there a setting I'm missing?
I have several other questions as well but not sure if I should open a separate ticket for each one or is there a better place to ask.
node v12.13.0
_BPXK_AUTOCVT=ON
_CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
Console output.
record=hexadecmal
-bash-4.3$ node app
BCFILE.DATA Found
Record read { key: '@����', record: 'f24040404040d7d3e4e240d9c5c6e4d5c440e3d6' }
f24040404040d7d3e4e240d9c5c6e4d5c440e3d6
record=string
-bash-4.3$ node app
BCFILE.DATA Found
Record read { key: '@����', record: '�@@@@@����@������@��' }
�@@@@@����@������@��
Thanks,
Matt