PhotoSwipe Umlaute

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
joticakr
Posts: 4
Joined: Sat Apr 17, 2021 4:58 pm

PhotoSwipe Umlaute

Post by joticakr » Mon Apr 19, 2021 7:14 pm

Hello Flatpress community,

I try to add image captions with help of the texte.conf file in the gallery folder. It's working fine but I'm not able to use ÄÖÜäöü. For the normal posts it's working fine. Do I have to add any more information to the texte.conf file.

BR, Johannes

User avatar
Arvid
FlatPress Coder
Posts: 199
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: PhotoSwipe Umlaute

Post by Arvid » Thu Apr 22, 2021 6:14 am

Johannes,

what happens when you add an umlaut? Is it displayed weirdly, or do the captions disappear completely?

I suspect an encondig issue. It should work with texte.con encoded in UTF-8. (Under windows, I check - and change - the file encoding with Notepad++.)

(Damn, this reminds me painfully of my plan to finally build an admin panel for managing the captions... :roll: )

Let me know the results!
All the best
Arvid

joticakr
Posts: 4
Joined: Sat Apr 17, 2021 4:58 pm

Re: PhotoSwipe Umlaute

Post by joticakr » Thu Apr 22, 2021 6:47 am

Hello Arvid,

I checked the file by

Code: Select all

file -bi texte.conf
and it said it's utf-8. If I write Fläche, it's shown as Fläche.

BR, Johannes

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests