Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Tempo servlet encoding

Juan Pablo Tirelli December 16, 2013

Hi.

We are using the Tempo servlet and we noticed that the results are encoding="UTF-8".

Is there a way to change that to "ISO-8859-1"?

Thanks!

Juan Pablo

9 answers

1 accepted

0 votes
Answer accepted
Juan Pablo Tirelli December 29, 2013

Susanne,

It worked!!!

It was this:

Start JIRA with the variable-Dfile.encoding=utf-8.

Thank you very much!!!!!!!!!!!!

Happy 2014!!

Juan Pablo

0 votes
Susanne Götz [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2013

Can you confirm that all your settings are now set to UTF-8 as described in https://confluence.atlassian.com/display/JIRAKB/Internationalisation+and+Encoding+Troubleshooting ?

0 votes
Juan Pablo Tirelli December 26, 2013

Susanne,

When we use format=excel we get the right characters. But, we still need the xml version.

Thanks,

0 votes
Susanne Götz [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 26, 2013

Can you check if you get the right characters if you use excel instead of xml (change format=xml to format= excel).

0 votes
Juan Pablo Tirelli December 25, 2013

I tried everything and nothing worked.

0 votes
Juan Pablo Tirelli December 17, 2013

I can see all the fields in JIRA all right, but the same fields exported to the xml file are showing ?? characters

Nevertheless I will look at the link you sent me.

Thanks!

0 votes
Susanne Götz [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2013

You need to check your encoding in JIRA. They recommend UTF-8, this is why the Tempo servlet uses this encoding. Please take a look at the JIRA documentation about Internationalisation and Encoding Troubleshooting (https://confluence.atlassian.com/display/JIRAKB/Internationalisation+and+Encoding+Troubleshooting) and see if you have the same encoding across all components.

0 votes
Juan Pablo Tirelli December 17, 2013

Thanks Susanne,

I've been performing some more tests like executing this in a Chrome browser:

http://server:8080/plugins/servlet/tempo-getWorklog/?dateFrom=&dateTo=&format=xml&diffOnly=false&addIssueSummary=true&addUserDetails=true&tempoApiToken=XXX

I'm getting the results, but like this:

<issue_summary>Gerenciamiento ??rea de Desarrollo</issue_summary>

The ?? should be Á

Thanks for any help!

0 votes
Susanne Götz [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2013

Hi Juan Pablo,

this is not possible in the Tempo servlet. You can convert the encoding by using a converter or open the .xml file in a text editor and choose the preferred encoding.

Kind regards

Susanne (Tempo)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events