After encoding the XML data into Base64, the Base64-encoded data must be formatted to replace the following characters, if they exist in the Base64-encoded data:
Existing Character |
Replacement Character |
---|---|
+ |
- (hyphen) |
/ |
_ (underscore) |
= |
, |
Replace any characters from the Existing Character column that occur in the Base64-encoded data with the corresponding characters in the Replacement Character column. The example below shows Base64 data before and after the characters have been replaced.
Before:
After:
Tip:
Use a simple text editing program like Notepad to quickly find and replace the necessary characters.