Skip to main content
Question

Why does the AIXM 5.1 reader convert encoding to UTF-16le?

  • December 10, 2021
  • 2 replies
  • 13 views

matthieuv
Supporter
Forum|alt.badge.img+20

I have an AIXM 5.1 file which clearly states at the beginning that the encoding of the file it is in UTF-8. However, when I use the AIXM 5.1 Reader suddenly all my attributes are in UTF-16LE which is not what I want.

I could use the AttributeEncoder to change everything back to UTF-8, but that seems like a waste of time as my data was good to start with.

Also is my geometry converted into XML and reading that will give errors as declaration inside the attribute is then UTF-16LE while I converted the attribute to UTF-8.

2 replies

kailinatsafe
Safer
Forum|alt.badge.img+21

Hello @matthieuv​ , would you be willing to share a sample file or possibly a workspace showing this encoding issue? Let me know if you're uncomfortable sharing your data or workspace here. Here to help, Kailin


matthieuv
Supporter
Forum|alt.badge.img+20
  • Author
  • Supporter
  • December 17, 2021

I can share something but not here. Maybe better then to file a support case?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings