Hi, Vinod: If you read the character stream as UTF-8 in Java, you shouldn't need to do anything special on either the client or server.
Are you using the MarkLogic Java Client API? The Java API knows the server encodes as UTF-8 and defaults to reading as UTF-8. The only other question that occurs to me is whether the code that's writing the content might be double encoding. Hoping that helps, Erik Hennum ________________________________ From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] on behalf of thangella.vinodre...@cognizant.com [thangella.vinodre...@cognizant.com] Sent: Wednesday, October 05, 2016 3:23 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] Issue with special charecters in MarkLogic Hi All, We are facing an issue with special characters involved in mathematical expressions such as “ write 𝘢(𝘹)/𝘣(𝘹) in the form “ which has italic characters (𝘢(𝘹)/𝘣(𝘹)). In MarkLogic these are stored as UTF-8 encoded values as “write 𝘢(𝘹)/𝘣(𝘹) in the form”. In Java application When we are retrieving data from MarkLogic DB ,these special characters are being received as “ write ݘ¢(ݘ¹)/ݘ£(ݘ¹) in the form” . These are being corrupted by the time we received them in Java layer. We tried many options from Java side to receive content as UTF-8 encoded, but did not resolved the issue. Can anyone please suggest a way to resolve this kind of issues from MarkLogic side. Thanks, Vinod. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general