[MarkLogic Dev General] Is xdml:unquote appropriate for handling accent characters?
KCowan at alm.com
Tue Feb 7 14:34:10 PST 2017
(note outlook stripped out the unknown character below, in the <title> node it was “Pok?mon”
From: Kari Cowan <KCowan at alm.com>
Date: Tuesday, February 7, 2017 at 2:31 PM
To: MarkLogic <general at developer.marklogic.com>
Subject: Is xdml:unquote appropriate for handling accent characters?
The doc contains a node with text including an accent grave, example:
<HEADLINE>VOIR DIRE: Pokémon Drive?</HEADLINE>
I tried to handle it with:
let $theTitle:=xdmp:unquote($theTitle, "", ("repair-full"))
But I still get an output with an unknown character in xml
<title>VOIR DIRE: Pokmon Drive?</title>
>> XML Parsing Error: not well-formed
Anyone have a tip they can share on how to handle it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General