sbcs codec
sbcs codec
Hi
I recently upgraded to DT version 1.10.18. part of the downloaded JS file is sbcs codecs.
The code normally has sections if the following formats:
"cp28592": "iso88592",
"iso88593": {
"type": "_sbcs",
"chars": "Ħ˘£¤�Ĥ§¨İŞĞĴ�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"
}
But at ie. line 51200 there is a line break before the data for the 'chars' property:
"ibm869": "cp869",
"csibm869": "cp869",
"cp922": {
"type": "_sbcs",
"chars": "
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"
}
When the script loads in the browser this is reported as an mistake and script loading is stopped. I have fixed this by removing the line break.
Is this line break intentionally in the file? And what is the impact of removing the linebreak??
Answers
I think the code you are referring to is part of pdfmake, which is hosted by CDNJS. I don't know what other options from the download builder you selected, but if you could let me know that would be useful so I can check what the download builder is outputting.
Thanks,
Allan