Resolve ",hexadecimal value 0x1D, is an invalid character when processing a package in SendSuite Xpress
Learn how to resolve the error message " ",hexadecimal value 0x1D, is an invalid character. Line #, position #..." when processing a package in SendSuite Xpress.
Products affected: SendSuite® Xpress
After importing and running a batchlink file in the main Shipping Screen, when processing a package, the following error is displayed before obtaining a weight:
", hexadecimal value 0x1d, is an invalid character. Line #, position #...
There are invalid hexadecimal values in the import file for batchlink.
To resolve this issue:
- Download and install Notepad++ (free).
- Navigate to the import file used for batchlink. Right-click on the file and select Edit with Notepad++.
- Look for any letters that appear in a black box. Example:
- These are character sets for ASCII code and each has its own meaning. (For more information, see this list.) These characters have to be removed before the list will import and run successfully.
- To remove these characters:
- From the top menu in Notepad++, select Search > Replace.
- In the Find what box, type the hexadecimal code for the Character set.
- In the Find what box type: \x
- From the list referenced in step 3, find the Hex code associated with the Char that appears in the list.
- Example: The GS Hex code is 1D, so in the Find what box you would type \x1d
- Leave the Replace with box blank.
- In the Search Mode box in the lower left, select Regular Expression.
- To finalize removing the code, select the Replace All button on the right side.
- Repeat until all codes are removed.
- Once all extra codes are removed, go to File > Save to save your list.
- Re-import your batchlink file and test.
UPDATED: August 14, 2021