Hi Shabana Khan,
Thank you for your response, I have provided my code below
let $filename := concat(“ /loginsummary.csv")
let $save := xdmp:save($filename,text{
string-join(concat($user/us:personalInfo/us:firstName/text(),"
",$user/us:personalInfo/us:lastName/text())," ") },
<options xmlns="xdmp:save">
<output-encoding>utf-8</output-encoding>
</options>)
return () .
while I run it in query console without xdmp:save the name appears as M’hamed
el Aisati and after save the name appears as M’hamed el Aisati. kindly do the
need full.
Thanks & Regards,
Siva
From: shabana khan [mailto:[email protected]]
Sent: Wednesday, April 26, 2017 12:31 PM
To: MarkLogic Developer Discussion
Cc: ConSyn-Infosys-Support
Subject: Re: [MarkLogic Dev General] Regarding encoding in Marklogic
*** External email: use caution ***
Hi Mani,
It works correctly for me.
The junk letters show up if the encoding is not utf-8, for ANSI encoding it
shows these junk characters.
Could you share some more details of your problem.
Thanks and Regards,
Shabana Khan
LinkedIn<https://in.linkedin.com/pub/shabana-khan/40/229/454>
On Wed, Apr 26, 2017 at 4:48 PM, Mani, Sivasubramani (ELS)
<[email protected]<mailto:[email protected]>> wrote:
Hi Team,
I saved the node value “M’hamed el Aisati” using xdmp:save() after that while
open the file it shows some junk letters instead of “M’hamed el Aisati” ,
even I use utf-8 encode option in the xdmp:save.
Kindly do the needful.
Thanks & Regards,
Siva
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general