03-22-2024 08:34 AM
I am using VerifyAddItem
I get a parse error when I have an Umlaut (ä) in the Description XML. If i replace it with an (a) , everything works fine.
Entire description as follows:
Antique, German historical work elaborating on the history of the Romans. The author, Oskar Jäger, was the Director of the Royal Friedrich-Wilhelms-Gymnasium in Köln and an honorary professor at the University of Bonn. This tenth edition includes 183 illustrations, 2 chromolithographs, and 2 maps, indicating its extensive use as an educational resource.
ANY IDEAS?
Solved! Go to Best Answer
03-22-2024 08:50 AM
Bay's File Exchange (based on Excel and the Trading API) had the same issue. A problem arose when the file encoding was set to UTF-8, but worked fine when set to ISO-8859-1 or CP1252. You might fiddle with the encoding of the uploaded document.
03-22-2024 08:50 AM
Bay's File Exchange (based on Excel and the Trading API) had the same issue. A problem arose when the file encoding was set to UTF-8, but worked fine when set to ISO-8859-1 or CP1252. You might fiddle with the encoding of the uploaded document.
03-25-2024 01:09 PM
Thanks for the feedback
Looking closer, As an isolated failure test case, i only need to replace the umlaut-a in Jäger of the string below with a regular a and it works fine. I coding looks like valid multibyte alright.
J\xc3\xa4ger
<Description>Antique, German historical work elaborating on the history of the Romans. The author, Oskar Jäger, was the Director of the Royal Friedrich-Wilhelms-Gymnasium in Köln and an honorary professor at the University of Bonn. This tenth edition includes 183 illustrations, 2 chromolithographs, and 2 maps, indicating its extensive use as an educational resource.</Description>
03-29-2024 10:44 AM
Yes ISO-8859-1 is the answer. Python only allows it as byte-strings. Any string operation converts it back to UTF-8. The eBay Trading API doesn't like my German double byte characters.
THANKS A BUNCH FOR YOUR HELP!