I am creating some dcrs while generating a template. I am getting the following error when I am trying to edit the dcrs in CCI. I've checked the dcr and it's well formed. What can be the reason?Root cause:Couldn't parse DCR bytes into DOM [unable_to_parse_dcr ]:Invalid byte 1 of 1-byte UTF-8 sequence.Details... com.interwoven.ui.formspub.datacapture.EditDCRPredicate$ReadDCRException: Couldn't parse DCR bytes into DOM [unable_to_parse_dcr ]:Invalid byte 1 of 1-byte UTF-8 sequence.
Is there a better way to handle that?
use HTML::Entities qw( encode_entities encode_entities_numeric);use Encode;$input = qq(vis-à-vis Beyoncé's naïve\npapier-mâché résumé);print "\n", encode_entities($input), "\n";print "\n", encode_entities_numeric($input), "\n";print "\n", encode_utf8($input), "\n";
If I use encode_utf8, I get the same error while editing the dcr. And also if I use the first two then characters are shown as encoded when I edit the dcr; i.e. I don't see the accenuated characters. Is there a way to display the accenuated characters when the user edits the dcr.