# XML Conversion Problem: Accented Characters (É) Result in � Symbol

**URL:** <https://community.cdata.com/t/xml-conversion-problem-accented-characters-e-result-in-symbol/609>\
**Category:** CData Arc\
**Tags:** question\
**Created:** [January 25, 2024, 11:21am UTC](https://community.cdata.com/t/xml-conversion-problem-accented-characters-e-result-in-symbol/609 "2024-01-25T11:21:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreaMassa](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@AndreaMassa](https://community.cdata.com/u/AndreaMassa)\
**Post date:** [January 25, 2024, 11:21am UTC](https://community.cdata.com/t/xml-conversion-problem-accented-characters-e-result-in-symbol/609/1 "2024-01-25T11:21:02Z")

</div>

Greetings everyone.  
I have a problem using a flat file connector, which I use to convert a fixed length .txt file to xml. the conversion is successful, but the characters present that have accents are converted with the symbol&nbsp;� in the resulting xml. Are there any settings or workarounds to avoid this?

address in the .txt file →&nbsp;3 AVENUE DES SPÉLUGUES  
address in the xml file →&nbsp;3 AVENUE DES SP�LUGUES

Thanks in advance to anyone who can help me

---

<div class="post-metadata">

**Author:** ![Piet\_Potappel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@Piet\_Potappel](https://community.cdata.com/u/Piet_Potappel)\
**Post date:** [January 25, 2024, 1:03pm UTC](https://community.cdata.com/t/xml-conversion-problem-accented-characters-e-result-in-symbol/609/2 "2024-01-25T13:03:18Z")

</div>

Usually this is the effect of conversion from ASCII to UNICODE.  
You could use a more sophisticated editor like NOTEPAD++ to see what the new character has become.

This post might help you in Arc 🙂  
[Replacing non-ASCII characters in a file | Community (cdata.com)](https://community.cdata.com/cdata-arc-48/replacing-non-ascii-characters-in-a-file-450)

---

<div class="post-metadata">

**Author:** ![AndreaMassa](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@AndreaMassa](https://community.cdata.com/u/AndreaMassa)\
**Post date:** [January 25, 2024, 2:43pm UTC](https://community.cdata.com/t/xml-conversion-problem-accented-characters-e-result-in-symbol/609/3 "2024-01-25T14:43:28Z")

</div>

Thanks for the reply and advice.  
I tried to really understand how this symbol is interpreted (and his real value) but this is also displayed to me by opening the xml generated with notepad++

For the moment I found the script you suggested useful, passing the txt file is “corrected” and the char “É” is converted into “E”

For the moment I can proceed like this but I would like to be able to save the exact information data as it is passed to me. I’m trying to understand if I can somehow extend and/or modify the suggested script.
