Project

General

Profile

Actions

Feature #41202

closed

Change the default CSV export encoding to UTF-8

Added by Go MAEDA 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This patch changes the default encoding for CSV exports from :general_csv_encoding to UTF-8.

UTF-8 is now the standard encoding format and is crucial for exporting data with multiple languages or Unicode emojis to prevent character corruption. Therefore, using UTF-8 is the best choice in most cases.

Currently, Redmine defaults to :general_csv_encoding (ISO-8859-1 for English, CP932 for Japanese) for CSV exports, requiring users to manually select UTF-8 each time, which is inconvenient. Switching the default to UTF-8 will simplify this process.

The default was originally set to :general_csv_encoding for compatibility with older versions of Excel, which didn’t support UTF-8. However, modern Excel versions can read UTF-8 encoded CSV files with a BOM. Since Redmine’s UTF-8 exports include a BOM (see #7037), changing the default to UTF-8 will not affect Excel compatibility.


Files

Actions

Also available in: Atom PDF