Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Crucible third-party SCM plugin renders file incorrectly

Hi,

I have a UTF-8 source file with Japanese text in a 3rd-party SCM supported by a LightSCM plugin. 

When it is rendered in Crucible, it is displayed with CP windows-1252, so all the text is garbled.

Is there any way in the Crucible plugin framework to control the file (or repository's) character set?  

I fetch the source file and write it out as UTF-8 to the OutputStream in com.atlassian.crucible.scm.SCMRepository.getFileAsString

The file also has the UTF-8 BOM 0xEF,0xBB,0xBF.

 

I'm using 4.5.3 (64-bit) and even tried this old solution to no avail:  https://community.atlassian.com/t5/Fisheye-Crucible-questions/UTF-8-support-in-Crucible/qaq-p/448381 

1 answer

0 votes

Hi @Joseph Koral,

If you did not try this already, can you try setting the sun.jnu.encoding explicitly to UTF-8 in the $FISHEYE_OPTS Environment variables?

 

This would be the syntax:

-Dsun.jnu.encoding=UTF-8

 

We have an open feature request to have this setting enabled by default:

FE-6908 - Set sun.jnu.encoding to UTF-8 by default

 

Cheers,

Caterina - Atlassian

Thanks @Caterina Curti, I have tried that option, without any luck.  

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
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