Forum Discussion
ptaylor
4 years agoEmployee
Hi Ajay,
Can you please explain how your Mapper is configured? It’s very unusual to have binary output for a Mapper.
ptaylor
4 years agoEmployee
What sort of file are you trying to write? A JSON file?
- Ajay_Chawda4 years agoContributor
@ptaylor thank you for reply, trying to write plain string to file in ascii format. used mapper with binary output view to avoid additional snap to convert document to binary.
- ptaylor4 years agoEmployee
Ok. And you’ve set up the Mapper to map a string from the input document to the special field
content
, like this?
Why do you need the Transcoder? The ASCII character set is extremely limited (only 128 characters) so if there are characters in the input that can’t be transcoded to ASCII that would be why you’re seeing that error. (The error message is confusing.)