First letter of some French file names cut off

Viewing 8 posts - 1 through 8 (of 8 total)
#66067

Timo Luege
Member

Hi there! I have a rather peculiar problem.

In some cases the first letter of a French filename’s title in a package is cut off. See screenshot.

Here is what I know so far:

* I have only seen this behaviour on pages with French file titles
* The file’s title appear properly in the backend
* Replacing the „É“ with an „E“ has not solved the problem.
* It does not happen in all cases (see screenshot)
* Removing the image has not resolved the problem.
* I could not find any hints in the HTML code as to the reason. The E is simply not there.

In case this plays a role: these pages are still saved as draft and not published.

I’d be very grateful if you have any idea how to fix this. Thanks!

Timo

#66107

can you give the page url?

Thanks

#66118

Timo Luege
Member

Hi Hasibul and thanks for getting back to me. I’m afraid I can’t, because I didn’t publish the pages because of this issue. I.e. they are all saved as drafts. However, if it was helpful, I could take a screenshot of the code and include that.

#66140

Hi Timo,

Then, can you can send login in private reply?

Thanks

#66154

Timo Luege
Member

Hi Hasibul,

I’ll have to get back to you on that in two weeks. The website owner is currently on holidays and I have just been helping them to get their content online. I’ll need his approval to do that, or to publish the content as is. In either case, I’ll get back to you after 13 December.

Thanks again and have a nice rest of the week,

Timo

#66156

Timo Luege
Member

Actually I noticed two more things today that I wanted to mention, just in case that helps identify the problem without needing to log in:

1) In the cases where the first letter is cut off, the File Title field was not saved succesfully. You can see that because in the ones without the first letter, the displayed filename ends in the file extension (e.g. .pdf), whereas all successfully manually entered titles don’t have the file extension at the end. I have repeatedly tried to enter the file names manually and the problem persists.

2) This does only seem to occur in cases where the files were re-ordered in a package after they have been uploaded. I just took a package with a mix of files where some file titles showed up properly. I then moved one of the files and suddenly that file’s title field was empty and showed the same behaviour.

It seems this has less to do with the language of the files and more with the field that saves file titles.

#66540

Timo Luege
Member

I think I managed to find the root of the problem. I feel pretty confident that it was related to the French file names after all. The other day I thought maybe I could avoid this issue if I added the already uploaded files new from the Add files->browse menu. When doing so I discovered that all files were shows as in the attached screenshot. This had not been visible in the interface before. When I added these files as described the problem persisted. I then renamed all files so that no French characters were in the file name. When I uploaded the files this time and manually added the French title in the title field, the first letter was shown correctly.

I don’t know whether that is an issue with the plugin or the server the site runs on, but it seems like the root of the problem was non-English characters in the filenames.

#66553

It can be a problem with the database. I was also looking for the problem on my side. What language encoding are you using in your database?
You can find more about mysql character encoding here: (https://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci)

Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘First letter of some French file names cut off’ is closed to new replies.