Andr3as / Codiad-CodeGit

Git integration for Codiad
MIT License
26 stars 15 forks source link

non-latin commit mesage #48

Closed inpos closed 7 years ago

inpos commented 7 years ago

When input non-latin commit message there is an error: "Failed to commit changes!" With latin commit message everything OK.

inpos commented 7 years ago

Added pull request

inpos commented 7 years ago

I found the cause of the issue. By default apache2 config set environment variable LANG=C (locale used by some modules like mod_dav). If someone have this issue, you need to set LANG to your system locale in apache config. In Debian just uncomment #. /etc/default/locale in /etc/apache2/envvars