# Wrong Encoding for XMP Import

**URL:** <https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642>\
**Category:** Help\
**Created:** [November 20, 2022, 1:56pm UTC](https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642 "2022-11-20T13:56:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daphnie0](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@daphnie0](https://discourse.jabref.org/u/daphnie0)\
**Post date:** [November 20, 2022, 1:56pm UTC](https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642/1 "2022-11-20T13:56:49Z")

</div>

Hey,  
currently I’m facing an encoding problem when importing xmp data from local pdf files. Both for the drag and drop and the “search for unlinked files” option cause a mismatch encoding. My UTF-8 xmp data is treated with latin-1 / iso-8859-1 encoding. This way all german Umlaute are shown incorrectly.  
My main bib-encoding is set to utf-8.  
How can you ensure that the xmp importer uses utf-8 and not latin-1 as encoding?

I’m on the latest main build Jabref 5.8

---

<div class="post-metadata">

**Author:** ![koppor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/koppor/32/5_2.png) [@koppor](https://discourse.jabref.org/u/koppor)\
**Post date:** [November 20, 2022, 2:52pm UTC](https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642/2 "2022-11-20T14:52:15Z")

</div>

Is the PDF you are experiencing the issue with confidential? If not, could you share it with us so that we can create a test case and include that in JabRef’s code? - If the PDF is confidential, we need to try to create a “public” PDF by ourselves. Maybe with LaTeX?

---

<div class="post-metadata">

**Author:** ![daphnie0](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@daphnie0](https://discourse.jabref.org/u/daphnie0)\
**Post date:** [November 21, 2022, 6:55am UTC](https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642/3 "2022-11-21T06:55:03Z")

</div>

Sure. The file is available at [https://pdfhost.io/v/I7gCvO7Tk\_This\_is\_a\_Test\_of\_Umlauts](https://pdfhost.io/v/I7gCvO7Tk_This_is_a_Test_of_Umlauts)  
The title looks in Jabref like this “This is a Test of Ã¤Ã¼Ã¶ Umlauts”

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [November 21, 2022, 5:31pm UTC](https://discourse.jabref.org/t/wrong-encoding-for-xmp-import/3642/4 "2022-11-21T17:31:41Z")

</div>

Thanks I could confirm this as well, mac’s preview show the correct meta information:

 ![grafik](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/2X/8/807cd1c138271d0ca479384446a452e9d120f8be.png)
