Bug #17543
closedStatic Templates: Character encoding issue in ext_tables_static+adt.sql
0%
Description
In short: one *.sql file of the source distribution should be replaced by the one supplied here.
Version typo3_src-4.1.2 comes with fifteen *.sql files. Thirteen are all ASCII which is fine. "typo3_src-4.1.2/typo3/sysext/tsconfig_help/ext_tables_static+adt.sql" has UTF-8 encoding which can be considered fine as well.
./typo3/sysext/cms/ext_tables_static+adt.sql is partly Latin-1 with Unicode U+FFFD REPLACEMENT CHARATER encoded as UTF-8 at six places. This is partly wrong and partly inconsistent. It will not really create problems for anyone. But it wipes out a litlle bit of history (which I don't cling to).
More important: It may be very misleading to those having trouble with their database and looking for corrupted data. They might take the replaced characters in this file as indicatior that character conversion at some point in their installation goes wrong. Not knowing the mistakes are in the source file already ...
The whole thing here is just a side effect of trying to understand why there were problems with the UTF-8 stuff in my installation und how I can convert older installations. But now that I've invested that much time I bring this to an end and supply the fully corrected version. The file is already wrong in typo3_src.3.8.1. I grabbed an old 3.3.0 version and as step 1 changed six latin-1 lines from wrong to right:
frit tilg�ngeligt fra
frit tilgængeligt fra
header = Standard Template "GL�CK"
header = Standard Template "GLÜCK"
header = MENU, "GL�CK"
header = MENU, "GLÜCK"
header = MENU2, "GL�CK"
header = MENU2, "GLÜCK"
header = RIGHT COLUMN, "GL�CK"
header = RIGHT COLUMN, "GLÜCK"
header = MENU COLUMN, "GL�CK"
header = MENU COLUMN, "GLÜCK"
After this there are only Latin-1 character left. As step 2 I converted the file to UFT-8. This corrected version is appended here.
(issue imported from #M6177)
Files
Updated by Oliver Hader over 17 years ago
Hi Martin,
thanks for your bug report. Without looking in detail to the file, I've create a diff between your file and the mentioned file of the 4.1 branch.
Updated by Chris topher over 14 years ago
This encoding issue is still present in 4.4.beta2.
There the file is located in typo3/sysext/statictemplates.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.