UTF-8 for panel of directadmin

WebArts

Verified User
Joined
Jul 14, 2010
Messages
108
Hi
I want to change character encoding of directadmin panel from western to UTF-8.
please guide me.
thanks
 
Don't do it unless you're prepared to do a lot of changes.
Things that you need to change:
Skin, Exim, Shell, possible FTP
 
i had thought it is only by a change in themplate config will be done.
thanks
 
Yes, you can if you're using Centos for server OS follow below steps

1. Login to your ssh and use below command

Code:
nano -w /usr/local/directadmin/data/skins/enhanced/lang/en/lf_standard.html

2. LANG_ENCODING=iso-8859-1 to LANG_ENCODING=utf-8

3. Save it
 
Yes, you can if you're using Centos for server OS follow below steps

1. Login to your ssh and use below command

Code:
nano -w /usr/local/directadmin/data/skins/enhanced/lang/en/lf_standard.html

2. LANG_ENCODING=iso-8859-1 to LANG_ENCODING=utf-8

3. Save it

Thanks.
but is there any problem in directadmin service such as FTP or Exim and ... if i change to utf-8?
i read in this post:
Don't do it unless you're prepared to do a lot of changes.
Things that you need to change:
Skin, Exim, Shell, possible FTP
 
Code:
Thanks.
but is there any problem in directadmin service such as FTP or Exim and ... if i change to utf-8?
i read in this post:


No I dont' think so.
 
Im having a problem when contacting all users via directadmin.

the char ò à ù è ì are not show correctly in email that user receive (they show ò à ù Ú ì).

Ive tryed this change but, as i supposed, dont fix this issue.

What and where ive to change configs for make it work correctly?

Thanks
 
You need to change charset for your skin to whatever you want or need. Note, your changes can be lost with directadmin update. I'm not sure, that should be verified (I do not use default skin).
 
im not using default skin aswell, im using Capri Skin.

Ive tryed to change the same file webart linked but into Capri folder, but, doesnt work...
 
Im having a problem when contacting all users via directadmin.

the char ò à ù è ì are not show correctly in email that user receive (they show ò à ù Ú ì).

Ive tryed this change but, as i supposed, dont fix this issue.

What and where ive to change configs for make it work correctly?

Thanks
If it's DA sending messages automatically, you need to add the charset to the templates.
 
Could you put me in the right line?

I mean, is the Contact Users function, but i dunno where to find the template for that function.

Regards
 
And for people who think changing the charset in the skin will solve all their problems, here is an example.

skin: utf-8
exim: iso-8859-1

The user goes to the control panel and defines an autoresponder in German.
People sending him emails get a garbled reply. Not good for business.

This can be solved 3 ways:
1) Use iso-8859-1 exclusively (may not work if you need extra characters not in there)
2) Convert the Exim template to utf-8
3) Use Dovecot as the LDA (many advantages over current config)

I stumbled upon this which should help fix some of the issues:
http://help.directadmin.com/item.php?id=334
 
Last edited:
Could you put me in the right line?

I mean, is the Contact Users function, but i dunno where to find the template for that function.

Regards
I'm not using that functionality, so I don't know exactly which file it is, but look in data/templates/custom

and add this at the top:
Code:
|?HEADER=Content-Type: text/plain; charset=UTF-8|
 
nothing interesting in custom cause if i dont copy in there the original file... ill have nothing to edit at all ;)

was checking data/template for find something regarding email or header... but cant figure it out.

Hope someone else have an idea :)

Thanks for your help.
 
german characters are not working though, even if i set utf8 in skin:

Ä, ä, Ö, ö, Ü, ü, ß
 
Back
Top