[TYPO3-dev] problem with utf8filesystem = 1
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Thu May 17 10:21:28 CEST 2007
Gideon So schrieb:
> Hi list,
>
> I have mentioned this problem here some time ago but seems that no one
> can confirm this problem. I tried to reproduce this problem again by
> creating a file
> aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ.txt, then upload it
> to fileadmin in backend module "filelist". After uploaded the file, the
> file become aAb_c_d_e_f_g_h_i_j_k_l_m_n_o_p_q_r_s_t_u_v_w___y_z_.t_t.
> Anyone have experience with utf8filesystem, please test this. Thanks.
That doesn't happen on my system (Linux, PHP5).
This is the replacement statement (in class.t3lib_basicfilefunc.php):
preg_replace('/[\x00-\x2C\/\x3A-\x3F\x5B-\x60\x7B-\xBF]/u',
'_',trim($fileName));
There is no rule that covers x and the capital letters.
Masi
More information about the TYPO3-dev
mailing list