There are two hosts, one server with Ubuntu 10.04, one with Linux Mint 8 Rosinka.
There is a python script, parcasi html GETом transmitting data in the form and so on.
On a host with Ubuntu, the script works on the host with the Mint, because of fraud with Cyrillic characters somehow do not work anymore.
The only important (IMHO) difference between host — locale:
LANG=en_us.UTF-8
— Mint
LANG=en_US.UTF-8
on Ubuntu
Tried adding in the script on mint
import locale
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
,
but no avail.
In Python no expert, chose it for the script just for the sake of interest. Barely won the Cyrillic alphabet on ubuntista a server, and then continue this fakap...
Maybe someone faced with similar?