Project

General

Profile

Actions

Bug #24353

closed

destroyed encoding in file class.t3lib_div.php

Added by Jan Radecker almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Since last Core-Update encoding of file class.t3lib_div.php is screwed up.

Obviously the file was edited with wrong encoding settings and the Umlauts got lost.
Even if the affected functions are marked as deprecated, they are completely useless now...

Example:

Wrong since 4.4.5:
---------------
public static function danish_strtoupper($string) {
self::logDeprecatedFunction();

$value = strtoupper($string);
return strtr($value, '???????????????', '???????????????');
}
---------------

Should be (as in 4.4.4):
---------------
public static function danish_strtoupper($string) {
self::logDeprecatedFunction();

$value = strtoupper($string);
return strtr($value, 'áéúíâêûôîæøåäöü', 'ÁÉÚÍÄËÜÖÏÆØÅÄÖÜ');
}
---------------
(issue imported from #M16765)

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23632: deprecationLog in console crashes output on login pageClosedSteffen Kamper2010-09-28

Actions
Actions #1

Updated by Chris topher almost 14 years ago

This got broken with #23632.

Affected is not only the line from danish_strtoupper() quoted above, but also one line from convUmlauts().
See here:
http://forge.typo3.org/projects/typo3v4-core/repository/revisions/9032/diff/branches/TYPO3_4-4/t3lib/class.t3lib_div.php

In trunk it has already been fixed by #23632.

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF