File manager editor character set


I want to edit a persian html file with filemanager editor but the characters are not showing correctly.

Persian language needs UTF-8 charset.

Please fix it.



The Persian language in Webmin is already in UTF-8 though..

What language do you have selected at Webmin -> Webmin Configuration -> Language?

Mostafa's picture
Submitted by Mostafa on Sun, 08/05/2012 - 05:47

I've changed the language and restarted webmin server but the problem still exists.

Could you tell me more about exactly how the file is being corrupted? Or better still, attach it to this bug.

In the file manager, are you using the text mode editor button, or the HTML editor?

Mostafa's picture
Submitted by Mostafa on Tue, 08/07/2012 - 06:41

I've set the charset in webmin configuration to utf-8. HTML editor works fine but the Text editor doesn't show the persian characters correctly.

This may be because the text editor is actually a Java app, which does its own text rendering separate from the browser :-(

If you double-click on that file to display it instead of editing it, do the characters appear OK?

Mostafa's picture
Submitted by Mostafa on Thu, 08/09/2012 - 06:38

Yes, the content are shown correctly on double-click.

Also the scroll isn't working on the file manager !

Would it be possible for you to attach that persian HTML file to this bug report?

Also, which browser are you using?

Mostafa's picture
Submitted by Mostafa on Fri, 08/10/2012 - 01:57


Browser : Firefox 14.0.1

Ok, I see the issue here now - this will be fixed in the next Webmin release. Thanks for reporting this!