Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69526

Wrong characters on all over jenkins windows menus and texts

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Jenkins Windows upgraded from LTS to nightly
    • localization-support-1.2

      After upgrade jenkins Windows from LTS version 2.346.3 to nightly 2.366, all the accented characters (portuguese brazilian language here) are wrong. I didn't change any setting, just upgrade and instantly get the wrong characters. For example Users menu have to be "Usuários" and not this strange characters.

          [JENKINS-69526] Wrong characters on all over jenkins windows menus and texts

          Andre Crespo added a comment - - edited

          I tried the options bellow on jenkins.xml arguments tag but the problem still there:

           

          -Dfile.encoding=UTF-8 -Duser.region=BR -Duser.country=BR -Duser.language=pt

           

          This is not occuring on Linux instances of the version 2.366.

          Andre Crespo added a comment - - edited I tried the options bellow on jenkins.xml arguments tag but the problem still there:   -Dfile.encoding=UTF-8 -Duser.region=BR -Duser.country=BR -Duser.language=pt   This is not occuring on Linux instances of the version 2.366.

          Basil Crow added a comment -

          What version of Java are you running?

          Basil Crow added a comment - What version of Java are you running?

          Andre Crespo added a comment -

          Java 11.0.16.1+1

          Andre Crespo added a comment - Java 11.0.16.1+1

          Basil Crow added a comment -

          Is your browser rendering the page in UTF-8, or some other encoding?

          Basil Crow added a comment - Is your browser rendering the page in UTF-8, or some other encoding?

          Andre Crespo added a comment -

          According with console on Chrome browser the command document.characterSet returns 'UTF-8' but the wrong characters are there.

          Andre Crespo added a comment - According with console on Chrome browser the command document.characterSet returns 'UTF-8' but the wrong characters are there.

          Basil Crow added a comment -

          I can't reproduce this problem on my Linux or macOS systems, and I do not currently have access to a Windows installation. Can anyone else reproduce the problem on Windows?

          Basil Crow added a comment - I can't reproduce this problem on my Linux or macOS systems, and I do not currently have access to a Windows installation. Can anyone else reproduce the problem on Windows?

          Mark Waite added a comment -

          I can't duplicate the problem on my Windows system. Steps that I took included:

          1. Install Brazilian Portugese on my Windows 10 computer based on the Microsoft instructions, moving it to the first position as as the preferred language
          2. Restart the computer, login, and confirm that the menus are Brazilian Portuguese
          3. Download Jenkins 2.368
          4. Run Jenkins 2.368 with java -jar jenkins.war
          5. Open http://locahost:8080 in Microsoft Edge and confirm that it shows English language
          6. Add Brazilian Portuguese to Micrsoft Edge and make it the default language by moving it to the first position as as the preferred language
          7. Open http://locahost:8080 in Microsoft Edge and confirm that it shows Brazilian language with correctly rendered characters
          8. Complete the setup wizard
          9. Login to Jenkins with the user configured in the setup wizard and confirm that text is displayed correctly in multiple locations

          Create user

          Dashboard

          Mark Waite added a comment - I can't duplicate the problem on my Windows system. Steps that I took included: Install Brazilian Portugese on my Windows 10 computer based on the Microsoft instructions , moving it to the first position as as the preferred language Restart the computer, login, and confirm that the menus are Brazilian Portuguese Download Jenkins 2.368 Run Jenkins 2.368 with java -jar jenkins.war Open http://locahost:8080 in Microsoft Edge and confirm that it shows English language Add Brazilian Portuguese to Micrsoft Edge and make it the default language by moving it to the first position as as the preferred language Open http://locahost:8080 in Microsoft Edge and confirm that it shows Brazilian language with correctly rendered characters Complete the setup wizard Login to Jenkins with the user configured in the setup wizard and confirm that text is displayed correctly in multiple locations Create user Dashboard

          Andre Crespo added a comment -

          Two differences here:

          1- I am using windows server 2016 to run jenkins

          2- I had LTS version installed and running without characters problems, then I download the nightly installer and install over the LTS version and then, the problem starts.

          I have 3 Jenkins on CentOS without any problem, just this windows instance have this. 

           

          Andre Crespo added a comment - Two differences here: 1- I am using windows server 2016 to run jenkins 2- I had LTS version installed and running without characters problems, then I download the nightly installer and install over the LTS version and then, the problem starts. I have 3 Jenkins on CentOS without any problem, just this windows instance have this.   

          Basil Crow added a comment -

          Since nobody else can duplicate this issue, I suspect the problem is with your local configuration. Perhaps installing over your existing version failed to properly update the .properties files with the new versions - try completely removing the old .war file as well as the extracted/unzipped files (not sure where those are located on Windows) and reinstalling again.

          Basil Crow added a comment - Since nobody else can duplicate this issue, I suspect the problem is with your local configuration. Perhaps installing over your existing version failed to properly update the .properties files with the new versions - try completely removing the old .war file as well as the extracted/unzipped files (not sure where those are located on Windows) and reinstalling again.

          Andre Crespo added a comment -

          I found the problem. Someone installed "Locale plugin" here. It's not configured but the wrong characters gone when I uninstalled this plugin and the dependencies (Localization plugin and Localization "chinese" plugin), so my problem is resolved because I don't need these plugins.

          Andre Crespo added a comment - I found the problem. Someone installed "Locale plugin" here. It's not configured but the wrong characters gone when I uninstalled this plugin and the dependencies (Localization plugin and Localization "chinese" plugin), so my problem is resolved because I don't need these plugins.

          Basil Crow added a comment -

          Was localization-support among the plugins you removed? I note that jenkinsci/localization-support-plugin#6 remains unmerged. I did a quick readthrough of the code for the locale plugin but I didn't find anything suspect there.

          Basil Crow added a comment - Was localization-support among the plugins you removed? I note that jenkinsci/localization-support-plugin#6 remains unmerged. I did a quick readthrough of the code for the locale plugin but I didn't find anything suspect there.

          Andre Crespo added a comment -

          Yes, localization support was there. I removed too. 

          Andre Crespo added a comment - Yes, localization support was there. I removed too. 

          Basil Crow added a comment -

          Lack of jenkinsci/localization-support-plugin#6 could very well be the problem then. CC timja danielbeck

          Basil Crow added a comment - Lack of jenkinsci/localization-support-plugin#6 could very well be the problem then. CC timja danielbeck

          Daniel Beck added a comment -

          Daniel Beck added a comment - https://github.com/jenkinsci/localization-support-plugin/releases/tag/localization-support-1.2 is out. In my testing this would resolve the problem.

          Basil Crow added a comment -

          acrespo Are you willing to install the new version of Localization Support plugin and verify that this resolves your issue?

          Basil Crow added a comment - acrespo Are you willing to install the new version of Localization Support plugin and verify that this resolves your issue?

          Andre Crespo added a comment -

          I just installed the new version, restarted Jenkins and the problem is gone. Thank you!

          Andre Crespo added a comment - I just installed the new version, restarted Jenkins and the problem is gone. Thank you!

          Basil Crow added a comment -

          Thanks for verifying! Marking this issue as closed.

          Basil Crow added a comment - Thanks for verifying! Marking this issue as closed.

            danielbeck Daniel Beck
            acrespo Andre Crespo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: