I added my Country locale (pl_PL) to shell in Open Tomato based router Asus. Originally only en_US and en_EN locale where available.
Now it is possible to use it for example in vim-full editor, installed from Entware-ng.
I send emails from router using msmtp command like this:
Code:
/bin/echo -e "Subject: Mail z routera ASUS\r\n\r\n<text with Polish characters>" |/opt/bin/msmtp --debug --from=default -t my_user@gmail.com,my_user@other.domain
Such emails are sending via gmail account, used as mail relay.
Below content of /opt/etc/msmtprc file:
Code:
defaults
tls on
tls_starttls on
tls_trust_file /opt/etc/certs/ca-bundle.crt
account default
host smtp.gmail.com
port 587
auth on
user my_account@gmail.com
password xxxxxxxx
from my_account@gmail.com
#logfile /opt/msmtp.log
The codepage for my language is Latin-8859-2.
The result is as follows.
- in iPad mail client, Polish characters are display properly both for Gmail account and for other.domain account
- in Linux Thunderbird Gmail account, Polish characters are display properly
- the same Thunderbird but other.domain account, strange symbols instead Polish characters
- mail read via Web page for other.domain, strange symbols instead Polish characters
All other sources emails are display properly on all platforms.
Probably I have to add something to config file or to msmtp command, to tell client s about codepage.
I call to other.domain admin but they dont know why Polish character are display not properly in they own system. Shame...
I dont know what to do. Any help?