Project

General

Profile

Actions

Bug #32834

closed

Remove BOM in getUrl()

Added by Steffen Gebert almost 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-12-26
Due date:
% Done:

0%

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

Description

UTF Byte Order Mark (BOM) can cause trouble, when they occur at the beginning of a file and TYPO3 functions don't skip this.

t3lib_div::getUrl() should just return the file's contents with BOM stripped (if there was one..). IMHO it's more metadata than part of the content.

See also Wikipedia: BOM


Files

32834.diff (400 Bytes) 32834.diff Steffen Gebert, 2011-12-26 13:37

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #19708: First line of external TS is discarded when using UTF-8 encoded filesClosed2008-12-17

Actions
Related to TYPO3 Core - Bug #20671: xml2array identifies UTF-8 files with BOM as ISO-8859-1Closed2009-06-25

Actions
Related to TYPO3 Core - Bug #16566: external UTF-8 files parsed with INCLUDE_TYPOSCRIPT are not correctly handledClosed2006-09-14

Actions
Actions

Also available in: Atom PDF