[TYPO3-core] create nice filenames

Michael Stucki michael at typo3.org
Thu Nov 10 15:15:30 CET 2005


Hi Martin,

+1 from me.

BTW, I think it would make sense to add this very often repeated code for
connecting to the charset object into a t3lib_div function.

- michael

Martin Kutschker wrote:

> This is a CVS patch request.
> 
> Type: New feature
> 
> Description:
> 
> In the BE when you create new file names (or folder names) every forbidden
> character is replaced by a _. This is annoying, especially for UTF-8 where
> two _'s will be generated.
> 
> Solution:
> 
> Modify the file name cleaning routine to do an ASCII-conversion with
> t3lib_cs. Use the correct charset depending on context, but provide an
> interface for overriding.
> 
> Additionally increase the max length to 60. 30 was to short for me on many
> occasions (I like to have rather descriptive names for my template files).
> 
> Branches: HEAD
> 
> Masi
> 
> PS: Why is a + not allowed?

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list