Strange characters on the webmin menu in Brazilian Portuguese

The accented characters are not displayed correctly in the webmin menu with the authentic theme

Status: 
Active

Comments

Ilia's picture
Submitted by Ilia on Thu, 01/31/2019 - 15:53

Hi,

It seems that pt_BR language file has incorrect/damaged chars in it, and/or wrong encoding (as it happens in all themes).

Jamie, can we do something about it? Can we finally drop two variants of the language files, and completely remove all non-utf8 encodings?

Do you see this for regular Portuguese as well, or only Brazilian?

brunno's picture
Submitted by brunno on Sat, 02/02/2019 - 13:30 Pro Licensee

Portuguese too

brunno's picture
Submitted by brunno on Sat, 02/02/2019 - 13:37 Pro Licensee

Characters are also invalid in Dashboard (picture WebminDashboardPT.png included now)

Ilia's picture
Submitted by Ilia on Wed, 02/06/2019 - 05:53

I changed the language to Portuguese (Brazilian) UTF-8 and my Dashboard looks okay, from what I can tell.

Is this correct?

Atualizações de pacotes: 99 atualizações de pacotes estão disponíveis, dos quais 20 são atualizações de segurança.

Make sure that you really have UTF8 set and not overwriting it using Webmin/Change Language and Theme.

Ilia's picture
Submitted by Ilia on Wed, 02/06/2019 - 05:54

If you open browser's console and run: get_server_data('charset'), what is the output that you get?

What browser are you using?

brunno's picture
Submitted by brunno on Wed, 02/06/2019 - 12:07 Pro Licensee

In webmin it is UTF-8 too.

Some parts of page are correct (as the part you copy), but not the marked parts

Chrome console: get_server_data('charset') "UTF-8"

One thing I noticed is that switching to brazilian portuguese works OK, but only if you do a full reload of the page after switching. Otherwise the left menu uses the wrong character set..

brunno's picture
Submitted by brunno on Thu, 02/07/2019 - 01:36 Pro Licensee

To me even loggin out and login in again, it still show me the strange characters.

Ilia's picture
Submitted by Ilia on Thu, 02/07/2019 - 04:31

By going to Webmin/Webmin Configuration/Language and Locale what do you have set for:

  1. Character set for HTML pages
  2. Use language specified by browser?
brunno's picture
Submitted by brunno on Thu, 02/07/2019 - 11:08 Pro Licensee

Hi,

I changed it to English as you can see in 001inenglishutf8.png Then I changed to Brazilian Portuguese and the menu show the strange characters as in image 002changetoptbrutf8.png Then I logout and login again, it continues to show the strange characters, but the dashboard from virtualmin is correct now, as you can see in 003afterrelogindashboard.png

I found that I had to actually shift-reload the page to clear any caches.

brunno's picture
Submitted by brunno on Tue, 02/26/2019 - 03:32 Pro Licensee

Any updates from that problem?

brunno's picture
Submitted by brunno on Fri, 03/01/2019 - 03:25 Pro Licensee

JamieCameron,

I try, full reload, clear cache, three diferent browsers, privacy mode, Windows PC, and Android smart phone, none of this worked, by the way, I try too change from an language to another, this works correctly without any refresh or any full clear cache (but shows the strange characters when set to pt-br.utf8)
Ilia's picture
Submitted by Ilia on Fri, 03/01/2019 - 03:32

@brunno. I can confirm that Jamie's patch fixes issues for UTF-8 charset.

Speaking about navigation menu, only few places has strange � appearing, for example in:

�ndex de Servidores Webmin P�ginas do Manual Parti��es em Discos Locais Configura��o de Arranque do Linux

All the rest looks just fine. If you tell me how to spell the above correctly, I will patch it for you!

brunno's picture
Submitted by brunno on Fri, 03/01/2019 - 05:33 Pro Licensee

Hi Illia,

�ndex de Servidores Webmin - Índice de Servidores Webmin P�ginas do Manual - Páginas do Manual Parti��es em Discos Locais - Partições em Discos Locais Configura��o de Arranque do Linux - Configuração de Arranque do Linux

Tem também/Also: Configura��o do Webmin - Configuração do Webmin Configura��o de Rede - Configuração de Rede Configura��o de Inicializa��o SysV - Configuração de Inicialização SysV Administra��o de Impressoras - Administração de Impressoras Configura��o do Sendmail - Configuração do Sendmail There are some others menu items not translated, how to suggest the correct in this cases?

brunno's picture
Submitted by brunno on Sat, 03/30/2019 - 20:02 Pro Licensee

Any updates about that problem?

brunno's picture
Submitted by brunno on Fri, 04/05/2019 - 11:50 Pro Licensee

Have you any updates about that?

We're still working on switching all languages to UTF-8 , which will solve this once and for all.

brunno's picture
Submitted by brunno on Mon, 04/08/2019 - 15:01 Pro Licensee

Ok, do you have any predictions of deadline?

Ilia's picture
Submitted by Ilia on Mon, 05/27/2019 - 02:13

Your issue is the part of general issue that has to be solved at first.

We could fix it as many times as we can but it would break again sooner or later, unless initial language files (those that are exposed for the users to commit) are stored in UTF-8.

I'd recommend switching to English for now.

Sorry about that.