Make PHP pathinfo() return the correct filename if the filename is UTF-8

后端 未结 7 863
庸人自扰
庸人自扰 2020-12-06 04:07

When using PHP\'s pathinfo() function on a filename known to be UTF-8, it does not return the correct value, unless there are \'normal\' characters in front of

7条回答
  •  醉梦人生
    2020-12-06 04:43

    Please refer to "pathinfo() cannot handle argument with special characters like german 'Umlaute'".

提交回复
热议问题