Re: [MarkLogic Dev General] Loading a text doc into the database

2018-04-28 Thread Simón Carbajal
; Hoping that's useful, > > > Erik Hennum > > > > > From: general-boun...@developer.marklogic.com marklogic.com> on behalf of Simón Carbajal > Sent: Friday, April 27, 2018 9:58:10 AM > To: general@developer.marklogic.com

[MarkLogic Dev General] Loading a text doc into the database

2018-04-27 Thread Simón Carbajal
Hi, I'm trying to upload a "text/html" document with the Node.js client API but the document is encoded as "windows 1252" and not utf-8 as required, this is causing the following error: "XDMP-DOCUTF8SEQ: Invalid UTF-8 escape sequence at line 39 -- document is not UTF-8 encoded" Is there a way t