Expand my Community achievements bar.

SOLVED

XML Encoding

Avatar

Level 2

Hi,

Can I change the encoding of the XML that my XDP produces? I need it to confirm to "ISO-8859-1". Can this be achieved and how?

Thanks

Tys

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

You can set the XML encoding in the submit button properties.

Paul

View solution in original post

6 Replies

Avatar

Correct answer by
Former Community Member

You can set the XML encoding in the submit button properties.

Paul

Avatar

Level 2

Paul,

Is there any other way using scripting? The reason I ask is because the form data gets extracted from the "Manage form data" button?

Tys

Avatar

Level 2

Paul,

The encoding I need is not in the list of encodings. I created a test file and manually went into the XML to change it. However, it defaults to UTF-8. I attached my form to this link

https://acrobat.com/#d=q9getR4IyNV7IUZBZ87tOA

If you can shed light it would be great.

Tys

Avatar

Former Community Member

This is not my area of expertise so I do not know how to get the other encodings. If I do a search in the help for textEncoding it seems to indicate that you cannot have Acrobat submit ISO-8859 encodings.

Paul

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----