aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs/source/index.rst
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-06-09 22:35:12 +0300
committerDavid Bremner <david@tethera.net>2016-06-11 13:01:30 -0300
commit1e96445cb5dc333e22b9ce01245902ba23fdb437 (patch)
tree34e3fa81a8e79d63e3707bf990d1a207679238df /bindings/python/docs/source/index.rst
parent4291f326809692bad61b50f942dc366e59ab30ef (diff)
devel/man-to-mdwn.pl: portable locale environment variable setting
Setting locale environment variables (LC_* and LANG) to e.g. en_US.utf8 works fine on Linux, and that is what locale -a returns (in Linux). However this does not work e.g. in some *BSD systems. In these systems, en_US.UTF-8 works. This also works in Linux systems (which may look like a surprising thing on the first sight(*)). But that *UTF-8 format seems to be widely used in the Linux system: Grep it through the files in /etc/, for example. Easy way to test: Run the following command lines. First should complain about setting locale failed, and second should not. $ LC_ALL=en_US.UTF-1 perl -e '' $ LC_ALL=en_US.UTF-8 perl -e '' (*) and who knows what the "standard" is...
Diffstat (limited to 'bindings/python/docs/source/index.rst')
0 files changed, 0 insertions, 0 deletions