summaryrefslogtreecommitdiffstats
path: root/create/schema/gen.pl
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-03 13:18:32 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-03 13:18:32 +0000
commit1a5dab8037c33f0188df86ab56eeab09c0c5a5ef (patch)
tree5b362fa00856105c99a8b66a6e3c8138599ea131 /create/schema/gen.pl
parent25af20831b6371c35563dbf087f873c3518cb86b (diff)
downloadzabbix-1a5dab8037c33f0188df86ab56eeab09c0c5a5ef.tar.gz
zabbix-1a5dab8037c33f0188df86ab56eeab09c0c5a5ef.tar.xz
zabbix-1a5dab8037c33f0188df86ab56eeab09c0c5a5ef.zip
- fixed support of 'curl' library (Eugene)
- added suport of 'automake' v1.6 (Eugene) - fixed oracle support (Eugene) - added support of MySQL v3.23 (Eugene) - fixed 'gen.pl' for UTF8 (Eugene) - more minor fixes git-svn-id: svn://svn.zabbix.com/trunk@3971 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/schema/gen.pl')
-rwxr-xr-xcreate/schema/gen.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/create/schema/gen.pl b/create/schema/gen.pl
index 4df70847..fa4cf9cb 100755
--- a/create/schema/gen.pl
+++ b/create/schema/gen.pl
@@ -16,6 +16,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+use utf8;
+
use Switch;
use File::Basename;
@@ -264,6 +266,8 @@ sub main
chop($line);
($type,$line)=split(/\|/, $line,2);
+
+ utf8::decode($type);
switch ($type) {
case "TABLE" { process_table($line); }