php basename() deletes first word in file name

We have file names in Hebrew, like: "HELLO WORLD TODAY.pdf",  but the first word disappears and becomes: "WORLD TODAY.pdf" in the file listing
This commit is contained in:
rois286 2019-04-17 16:12:18 +03:00 committed by GitHub
parent 1d32baf5b4
commit 60ee534c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
/* Set locale to Hebrew */
setlocale(LC_ALL, "en_US.UTF-8");
*** OPTIONS ***/ *** OPTIONS ***/