• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Following a migration, character encoding issue

    Scheduled Pinned Locked Moved Solved FOG Problems
    10 Posts 2 Posters 244 Views
    Loading More Posts
    • 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.
    • B
      Bristow 0
      last edited by

      Hello everyone,

      Following the migration of my server to Debian Bullseye and Fog 1.5.10.1734, I have noticed problems with characters that contain accents.
      Is this a bug in this version, or have I forgotten something?

      Thanks!

      Example :

      Capture du 2026-01-05 11-02-51.png

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • B
        Bristow 0 @Tom Elliott
        last edited by

        @Tom-Elliott

        Great news!

        I updated my server to Debian Bookworm, restarted the Fog installation, and the accent problem disappeared. Awesome!

        Thanks for your help and happy new year 2026, all the best for the FOG project!

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Bristow 0
          last edited by

          @Bristow-0 I’m pretty sure its your systems fonts don’t have a way to represent those particular characters. The encoding displays correctly on my machine looking in a terminal.

          I’m assuming this worked, then you did an update and it stopped working? I might look at what fonts recently got updated or removed?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          B 1 Reply Last reply Reply Quote 0
          • B
            Bristow 0 @Tom Elliott
            last edited by

            @Tom-Elliott

            Indeed, it worked before the migration.

            Accented characters work on the terminal connected to my server.

            However, it is strange that it displays the ç and the spanish ñ correctly on the home page. It seems that only the é and è are not working…

            Look :
            Capture d’écran du 2026-01-05 12-00-35.png

            1 Reply Last reply Reply Quote 0
            • B
              Bristow 0
              last edited by

              Maybe this is my translation file submitted a few years ago?

              https://github.com/FOGProject/fogproject/pull/431

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Bristow 0
                last edited by

                @Bristow-0 I’m not able to replicate the issue:

                51896f1b-4444-42b0-85a0-46071b0490c6-image.png

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • B
                  Bristow 0
                  last edited by

                  Arghh 😞

                  I tried to apply this command without any conclusive results:

                  msgfmt -o /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.mo /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.po
                  

                  I did see the accents once or twice (after msgfmt command), but they disappeared after two clicks or connecting to Fog. Very strange…

                  Tom ElliottT 2 Replies Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Bristow 0
                    last edited by

                    @Bristow-0 I don’t know what OS you’re running:

                    php-gettext or php-php-gettext is the module you’ll need installed (pretty sure it already is but maybe there’s some unexpected collision occurring?)

                    If you’re on debian, you my need to also reconfigure the fr_FR.UTF-8 sudo dpkg-reconfigure locales scroll down to the fr_FR.UTF-8 selector and ensure it’s selected.

                    Tab to Ok, on the next screen choose your default (or change it if you want) and click ok. It shoudl reconfigure the languages.

                    Other os’s the glibc/lanugage packs just need to be installed.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    B 1 Reply Last reply Reply Quote 1
                    • Tom ElliottT
                      Tom Elliott @Bristow 0
                      last edited by

                      @Bristow-0 Just cause I’m a dweeb:

                      You can simplify this command for reformatting with:

                      msgfmt -o /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.{m,p}o
                      

                      Theoretically. I don’t think it’d cause issues, but explicit is known for sure.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Bristow 0 @Tom Elliott
                        last edited by

                        @Tom-Elliott

                        I’m on Debian Bullseye.

                        I can’t install php-gettext, and i installed php-php-gettext (not installed), restart php7.4 but no better.

                        1 Reply Last reply Reply Quote 0
                        • B
                          Bristow 0 @Tom Elliott
                          last edited by

                          @Tom-Elliott

                          Great news!

                          I updated my server to Debian Bookworm, restarted the Fog installation, and the accent problem disappeared. Awesome!

                          Thanks for your help and happy new year 2026, all the best for the FOG project!

                          1 Reply Last reply Reply Quote 0
                          • B Bristow 0 has marked this topic as solved
                          • 1 / 1
                          • First post
                            Last post

                          96

                          Online

                          12.5k

                          Users

                          17.5k

                          Topics

                          156.1k

                          Posts
                          Copyright © 2012-2026 FOG Project