Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Stirling-PDF
  3. Issue with Stirling and UTF-8 (fails ONLY with Cloudron installs...)

Issue with Stirling and UTF-8 (fails ONLY with Cloudron installs...)

Scheduled Pinned Locked Moved Solved Stirling-PDF
bugcloudronstirling-pdfutf-8encoding
4 Posts 2 Posters 590 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nico
    wrote on last edited by Nico
    #1

    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 !

    1 Reply Last reply
    1
    • N Offline
      N Offline
      Nico
      wrote on last edited by
      #2

      I've added a file with an extract with an other instance not run by Cloudron, their conf file anonymized, and the original pdf file.
      IIf you do an extract from pdf to text, all accents are gone 😞
      link text

      1 Reply Last reply
      0
      • girishG girish moved this topic from Support on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @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.  
        
        N 1 Reply Last reply
        1
        • girishG girish

          @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.  
          
          N Offline
          N Offline
          Nico
          wrote on last edited by
          #4

          @girish updated, tested, and fixed ! 😊
          Thanks !

          1 Reply Last reply
          1
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search