about summary refs log tree commit diff
path: root/devscripts/posix-locale.sh
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-01-08 17:20:01 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-01-08 17:20:18 +0100
commitfefb166c52e00075a776dba3440039c046998eb4 (patch)
treeaafe711e81a16705fffe7a9a78babe4bc09ec6f2 /devscripts/posix-locale.sh
parentdcb3c22e0beedd7e6ee7ca2cc988a5c9b80d5f11 (diff)
downloadyoutube-dl-fefb166c52e00075a776dba3440039c046998eb4.tar.gz
youtube-dl-fefb166c52e00075a776dba3440039c046998eb4.tar.xz
youtube-dl-fefb166c52e00075a776dba3440039c046998eb4.zip
Leave out characters the filesystem cannot encode (Closes: #264)
Diffstat (limited to 'devscripts/posix-locale.sh')
-rw-r--r--devscripts/posix-locale.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/devscripts/posix-locale.sh b/devscripts/posix-locale.sh
new file mode 100644
index 000000000..0aa7a592d
--- /dev/null
+++ b/devscripts/posix-locale.sh
@@ -0,0 +1,6 @@
+
+# source this file in your shell to get a POSIX locale (which will break many programs, but that's kind of the point)
+
+export LC_ALL=POSIX
+export LANG=POSIX
+export LANGUAGE=POSIX