AnsweredAssumed Answered

HCP Custom Metadata Encoding Error

Question asked by KHALID FARHI on Jul 5, 2016
Latest reply on Aug 7, 2016 by Thrinath Seelam

HI all,

I use Custom MetaData to inject an object in the HCP, I want to use it for encoding in arabic and french:

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<book xml:lang="fr">

  <title>Livre en Français</title>

  <chapter>

    <title>Chapitre en Français</title>

    <p>Paragraphe en Français</p>

    <p xml:lang="en">Paragraph in English</p>

  </chapter>

  <chapter xml:lang="ar">

    <title>Chapter in arabic</title>

    <p>سلام</p>

  </chapter>

</book>

 

I get the folloxing error message:

This page contains the following errors:

error on line 3 at column 10: Encoding error

Below is a rendering of the page up to the first error.

 

 

When I change the header as:

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>

 

It seems OK except for arabic lettres I get ???? instead  سلام, even by using iso-8859-6.

 

Could someone help me.

Outcomes