Project

General

Profile

Actions

Bug #18666

closed

Encoding problems with $TYPO3_CONF_VARS[SYS][sitename]

Added by Michael Stucki over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If the sitename contains umlauts, and the file is saved in a different charset than what is used by TYPO3, the output gets distorted (e.g. at the BE login screen).

A possible solution would be to allow html entities. Removing htmlspecialchars() would not hurt as the input is coming from a trusted source.
(issue imported from #M8195)


Files

bug_8195.diff (1.26 KB) bug_8195.diff Administrator Admin, 2008-09-25 03:39
Actions #1

Updated by Martin Kutschker over 16 years ago

As multi-charset setups are deprectated setting BE[forceCharset] to your charset will help if it's not iso-8859-1. In 4.2 it will be used in the login screen and the installer.

Sidenote: it'd be great if we could rename it to SYS[charset] and make it a mandatory configuration option.

Actions #2

Updated by Steffen Kamper over 16 years ago

+1 for renaming to SYS[charset] as it doesn't influence BE only.

If it's mandatory it should appear in 1-2-3-setup as well.

Actions #3

Updated by Benni Mack over 16 years ago

Should go in the new installer along with
- utf8 by default
- DB charset check when installing

Actions #4

Updated by Michael Stucki about 16 years ago

The problem does actually not exist as long as the encoding of localconf.php matches the backend charset defined in $TYPO3_CONF_VARS[BE][forceCharset].

So here is a fix, however it will not go into TYPO3core because it adds unneccessary overhead to every page request.

Actions #5

Updated by Michael Stucki about 16 years ago

If you are still interested in discussing the naming of BE[forceCharset], please move that topic to a new request.

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF