How Do I Set The Default Charset Value For The Pre-Commit

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

(Auto-migrated image: description temporarily unavailable)

The following KB discusses on how to set the default charset for the charset option when adding a pre-commit in the Crucible review. You can configure the default charset for an user by performing the following:-

  1. Shutdown Fisheye instance

  2. Backup the database of the Fisheye instance

  3. Run the following SQL Query to determine the ID of the user from the database:-

    1 select cru_user_id from cru_user where cru_user_name='<username>';
  4. Based on the user id, run the following SQL Query in your database:-

    1 UPDATE cru_user_profile SET cru_upload_charset = 'EUC-KR' WHERE cru_user_profile.cru_user_id =<user_id>;
  5. Start Fisheye instance

Note: Remember to replace the <username> and <user_id> with the actual value.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.