Issue with Stirling and UTF-8 (fails ONLY with Cloudron installs...)
Moved
Solved
Stirling-PDF
-
Hello,
I have an issue while exporting a pdf to text with Stirling, all accents are gone
I tried to force the UTF-8 in my settings.yml like this :
# Welcome to settings file # Remove comment marker # if on start of line to enable the configuration # If you want to override with environment parameter follow parameter naming SECURITY_INITIALLOGIN_USERNAME security: enableLogin: true # set to 'true' to enable login csrfDisabled: true # Set to 'true' to disable CSRF protection (not recommended for production) loginAttemptCount: 5 # lock user account after 5 tries loginResetTimeMinutes: 120 # lock account for 2 hours after x attempts system: defaultLocale: 'fr-FR' # Locale française par défaut googlevisibility: false # 'true' to allow Google visibility (via robots.txt), 'false' to disallow enableAlphaFunctionality: false # Set to enable functionality which might need more testing before it fully goes live (This feature might make no changes) showUpdate: true # see when a new update is available showUpdateOnlyAdmin: false # Only admins can see when a new update is available, depending on showUpdate it must be set to 'true' customHTMLFiles: false # enable to have files placed in /customFiles/templates override the existing template html files environmentVariables: # Variables d'environnement pour forcer UTF-8 - name: LANG value: "fr_FR.UTF-8" - name: LC_ALL value: "fr_FR.UTF-8" - name: LC_CTYPE value: "fr_FR.UTF-8" ui: appName: null # Application's visible name homeDescription: null # Short description or tagline shown on homepage. appNameNavbar: null # Name displayed on the navigation bar endpoints: toRemove: [] # List endpoints to disable (e.g. ['img-to-pdf', 'remove-pages']) groupsToRemove: [] # List groups to disable (e.g. ['LibreOffice']) metrics: enabled: true # 'true' to enable Info APIs (`/api/*`) endpoints, 'false' to disable # Automatically Generated Settings (Do Not Edit Directly)
It's not related to my files (tested multiple working files) and I also tested on 3 different installs (one from an other hoster with a marketplace, my local docker instance, and also a docker image that I've set up on an instance)
I'm almost absolutely sure this is related to Cloudron setup...
Could you help ?
Thanks ! -
-
@Nico I have fixed the encoding now. Can you please check in the latest package?
After update, I can see:
https://chaetgillousemarrent.fr/ • Spectacle "Sauvons l'humanité" • 06 24 86 46 66 • Page 1 sur 4 1) Contexte  Spectacle original qui aborde les problèmes actuels sans être moralisateur, mais en rappelant qu'un petit geste peut faire une grande différence.
-
-