Actually, all of the character set encodings listed in that Dev Guide chapter are supported (there are many of them); UTF-8 and ISO-8859-1 are just examples of what are supported.
You can also specify encodings for output. If you look at the HTTP (or XDBC) Server Configuration page for one of your App Servers in the Admin Interface, you will see a drop-down (the last or second-to-last one in the list) for output encoding. All of the encoding in that list are supported. FYI, it is possible to write an XQuery program that uses xdmp:filesystem-directory to search through files on a filesystem (as long as the filesystem is accessible by MarkLogic Server), then use xdmp:document-load to load all of the files into the database (in case you get tired of using Java :) ). -Danny -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Pawson Sent: Thursday, December 04, 2008 2:47 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Re: XDBC creation / access 2008/12/3 Danny Sokolsky <[EMAIL PROTECTED]>: > Hi Dave, > > All content in MarkLogic Server is stored in UTF-8. There are mechanisms in > the server for transcoding other encodings to UTF-8. These are accessible > via several loading built-in XQuery functions, such as xdmp:document-load > (see the <encoding> option): > > http://developer.marklogic.com/pubs/4.0/apidocs/UpdateBuiltins.html#xdmp:document-load 8859-1 or utf-8. OK Except I have two directories to load. > > You can also specify the encoding in XCC, which is the Java (or .NET) > interface to MarkLogic Server. In general, the developer (or some program) > must tell MarkLogic Server the encoding, then it will be translated to UTF-8 > on the way into the server. > > You will also find more information about this in the Developer's Guide: > > http://developer.marklogic.com/pubs/4.0/books/dev_guide.pdf > > See the Chapter "Encodings and Collations" on page 260. Thanks, I'll take a look. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
