Question

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

  • 10 December 2021
  • 2 replies
  • 4 views

Badge +13

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

Userlevel 3
Badge +13

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

Badge +13

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

Reply