Opened 13 years ago
Closed 12 years ago
#314 closed defect (wontfix)
FileDownloadProxy - missing French characters in file name
Reported by: | adube | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.0 |
Component: | server | Version: | |
Keywords: | Cc: |
Description
When downloading a file with French characters, they are missing in the name of the file in the download box.
Note:
See TracTickets
for help on using tickets.
The 'basename' PHP method is used to get the filename with its extension. As mentioned in its documentation, it is "locale aware", see in notes section.
In production environments, the "setlocale" is already set globally in common.php. That is not the case for the GeoPrisma samples, thus causing the issue. I tried adding the following and it worked :
So, to avoid this issue, set locale with the according encoding and it will work.