Export to XML seems to mess up UTF8 characters

Fri 11. Jan 2019, 14:32

Hello,

I am testing Articy:draft with a simple dialogue in which I use accentuated characters. When I export to XML, here is what I can see in the XML file:

<DialogueFragment Id="0x0100000000000B42" ObjectTemplateReference="0x01000000000005DE" ObjectTemplateReferenceName="Dialogue_Fragment">
<DisplayName><![CDATA[PlayerNPC: "Joli prénom..."]]></DisplayName>
<Text Count="1" HasMarkup="1">
<LocalizedString Lang=""><![CDATA[<html><head><style>#s0 {text-align:left;} #s1 {font-size:11pt;} </style></head><body><p id="s0"><span id="s1">Joli pr&#233;nom...</span></p></body></html>]]></LocalizedString>
</Text>
...

See how DisplayName includes the proper UTF8 characters: "prénom"
And how it is not UTF8 in LocalizedString: "pr&#233;nom"

Is this the intended behavior ? It doesn't make much sense to me. I am using this with Unity Dialogue System which picks up LocalizedString and displays non UTF8 version...
unisip
 
Posts: 2
Joined: Fri 11. Jan 2019, 14:28

Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 14 guests

Who We Are
Contact Us
Social Links