chiark / gitweb /
Merge branch 'stable-3.x'
[ypp-sc-tools.web-live.git] / yarrg / Commods.pm
index f81e1b8dff0863247ab3c8aca83aaab5ac32b23e..c82fdfdbb156a0c3daebd1f4ce6d7e4fe0f36f83 100644 (file)
@@ -41,7 +41,8 @@ BEGIN {
                      &pipethrough_prep &pipethrough_run
                      &pipethrough_run_along &pipethrough_run_finish
                      &pipethrough_run_gzip
-                     &cgipostform &yarrgpostform &cgi_get_caller);
+                     &cgipostform &yarrgpostform &cgi_get_caller
+                     &set_ctype_utf8);
     %EXPORT_TAGS = ( );
 
     @EXPORT_OK   = qw();
@@ -357,4 +358,8 @@ sub cgi_get_caller () {
     return $caller;
 }
 
+sub set_ctype_utf8 () {
+    setlocale(LC_CTYPE, "en.UTF-8");
+}
+
 1;