We use the cf binaryencode function to convert a binary file to a base64 string that then is inserted into a coldfusion structure. Then we use the serizlizeJSON function to convert that structure to JSON.
When it fails we get this error:
JsonParsingError - Failed to decode VALUE_STRING as base64 (MIME-NO-LINEFEEDS): Illegal character 'ﻘ' (code 0xfed8) in base64 content at [Source: java.io.StringReader@192fd063; line: 1, column: 12229]
Using the same code and the same file works correctly in CFMX 9.
We narrowed down to the serializeJSON function by manually creating the JSON string and bypassing the serializeJSON function completely.
Running CF11 Update 5 did not solve this either.
Anyone have any ideas on how to remedy this?
thanks!
- Alex