Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any way to get the attached file data in required encoding format.

Hi ,

Is there any way to get the attached xml file content as client required encoding format?

Ex:  attached cdcatalog.xml  in page/space.

Using Javascript AP.request we are calling download/attachments/ API, where i have to send encoding value given by users, based on this i would like to get the xml file data in given encoding format from this mentioned API.

Currently always the response header content-type value is "text/html;charset=UTF-8" from confluence server. Is there any way to get response content-type as "application/xml;charset=(ISO-8859-1/Big5/UTF-32) in user given encoded value.

1 answer

0 votes

Hi there, @bobswiftapps-automation,

Thank you for bringing this up to us. I'm really not sure about that, but I would recommend raising the same question with one of our Developer Resources as those might be the experts on this topic you are looking for.

If you do find out, please follow-up here as well, in case anyone else has the same question.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

2,922 views 31 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you