Unicode characters are not displayed correctly after enabling transcoding diffs in a repository in Bitbucket Data Center

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Unicode characters are not displayed correctly after enabling transcoding diffs in a repository.

Diagnosis

Unicode characters are correctly displayed in the source view of a file, however, in the "Diff to previous" section the same characters are not transcoded when the "Transcode diffs" option is checked.

(Auto-migrated image: description temporarily unavailable)
(Auto-migrated image: description temporarily unavailable)
(Auto-migrated image: description temporarily unavailable)

Cause

This can happen when the browser renders the page and its previous content is cached.

Solution

Clearing the browser cache solves the problem, allowing the Unicode characters to be correctly rendered:

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.