Fix CSV export € symbol #3578

Closed
opened 2026-02-20 16:07:11 -05:00 by deekerman · 1 comment
Owner

Originally created by @holdusback on GitHub (Feb 19, 2019).

Issue

€ symbol is badly exported in csv's report. € became ¬. With UTF16-LE.

Expected Behavior

A € symbol not ¬

Actual Behavior

Possible Fix

The CRM just doesnt have the option to encode in UTF-8 WITH BOM.
Take the UTF-8 encodage in user advanced settings.

in file: /modules/AOR_Reports/AOR_Report.php
In build_report_csv(), just before print $csv add this:
$csv = chr(239) . chr(187) . chr(191) . $csv;

Context

Your Environment

  • SuiteCRM Version used: 7.11.1
Originally created by @holdusback on GitHub (Feb 19, 2019). #### Issue € symbol is badly exported in csv's report. € became ¬. With UTF16-LE. #### Expected Behavior A € symbol not ¬ #### Actual Behavior #### Possible Fix The CRM just doesnt have the option to encode in UTF-8 WITH BOM. Take the UTF-8 encodage in user advanced settings. in file: /modules/AOR_Reports/AOR_Report.php In build_report_csv(), just before print $csv add this: $csv = chr(239) . chr(187) . chr(191) . $csv; #### Context #### Your Environment * SuiteCRM Version used: 7.11.1
deekerman 2026-02-20 16:07:11 -05:00
Author
Owner

@Dillon-Brown commented on GitHub (Aug 2, 2019):

Duplicate of #18

@Dillon-Brown commented on GitHub (Aug 2, 2019): Duplicate of #18
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#3578
No description provided.