Permalink
Browse files

Fix for processing GDBM files while using UTF8

It appears that utf8 filter should not be applied when creating GDBM
files. This seems to cause a double encoding. Prerequisite is that
the TXT file out of which the GDBM file is built is UTF8 encoded.

But when working with UTF8 this should be the case else the TXT files
are not able to be worked with with various languages.
  • Loading branch information...
1 parent 29b7e50 commit 46c876e72457c92d4a57b2ba9549b3f67cbfd3d6 Gert van der Spoel committed Mar 27, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/Vend/Table/GDBM.pm
View
@@ -66,8 +66,6 @@ sub create {
my $dbm = tie(%$tie, 'GDBM_File', $filename, $flags, $File_permission_mode)
or die ::errmsg("%s %s: %s\n", ::errmsg("create"), $filename, $!);
- apply_utf8_filters($dbm) if $config->{GDBM_ENABLE_UTF8};
-
$tie->{'c'} = join("\t", @$columns);
my $s = [

0 comments on commit 46c876e

Please sign in to comment.