[#769] UTF-8 encoding problems with committrackers

Description

Summary:

Detailed description

We had some trouble with UTF-8 when commiting with some german umlauts like "äöü" from ISO Systems.

We solved this by changing the file plugins/scmhook/library/scmsvn/hooks/committracker/post.php.

The edit was to replace the line (far at the end) $SubmitVars[$i]["Log"] = $log; with $SubmitVars[$i]["Log"] = mbdetectencoding($logmessage, 'UTF-8', true) ? addslashes($logmessage) : utf8_encode(addslashes($logmessage));

The check with mbdetectencoding was needed to prevent an alredy uft8 encoded string from being encoded twice.

General Information
Submitted by:
Philipp Keidel
Date Submitted: 2015-05-06 09:40
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Permalink: https://fusionforge.org/tracker/a_follow.php/769
Actions
Internal Fields
Data Type: Bugs
Assigned to: Nobody (None)
State: Open
Priority: 3
Extra Fields
Resolution:
none
Severity:
normal
Target Release:
none
Follow-up tabs

No Comments Have Been Posted

No attached documents

No related commits.

No Changes Have Been Made to This Item

No relations found.