dymo-connect-framework
dymo-connect-framework copied to clipboard
Framework fails to decode template files with UTF-8 Byte Order Mark
I found a critical bug.
The DCM software saves a *.dymo label with a Byte Order Mark (BOM). When passing the contents of the .dymo file to dymo.label.framework.openLabelXml() it fails to decode the XML saying it's invalid. Removing the byte order mark solves the problem.
Byte Order Mark is generally a bad approach. Here are your alternatives for a fix: A) Either implement support for BOM in the DYMO Framework. B) Or stop inserting the byte order mark when using the DCD software.
Regex for matching the BOM /^\ufeff/
This bug makes any labels created with the DCD Software invalid for use with the DYMO Framework.
@dymosoftware This is an incompatibility issue of DYMO Connect generated labels not being compatible with the Web Service. Why is this being ignored?