chiark / gitweb /
set content-type charset and LC_CTYPE to UTF-8
[ypp-sc-tools.db-live.git] / yarrg / commod-update-receiver
index 889913d3c6b717a5ebc41c71179c16072cf73860..f11442854c0f31bf4029600ac5a9b705fae0db3a 100755 (executable)
@@ -35,7 +35,7 @@ $CGI::POST_MAX= 3*1024*1024;
 
 use CGI qw/:standard -private_tempfiles/;
 
-setlocale(LC_CTYPE, "en_GB.UTF-8");
+set_ctype_utf8();
 
 our $now= time;  defined $now or die $!;