chiark / gitweb /
SQL queries from ceb, including profitable trade calculator
[ypp-sc-tools.web-live.git] / yarrg / Commods.pm
index b90e6d7bff2f27e25689d8b3be7e91be3b52e32b..0f7ebd63a253919301b58c90855c42284c5295f7 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();
@@ -356,4 +357,8 @@ sub cgi_get_caller () {
     return $caller;
 }
 
+sub set_ctype_utf8 () {
+    setlocale(LC_CTYPE, "en.UTF-8");
+}
+
 1;