|
|
use SDBM_File; # or DB_File, or GDBM_File, or NDBM_File, or ODBM_File
use DBM_Filter ;
$db = tie %hash, ...
$db->Filter_Push('utf8');
=head1 DESCRIPTION
This Filter will ensure that all data written to the DBM will be encoded in UTF-8.
This module uses the Encode module.
the DBM_Filter manpage, the perldbmfilter manpage, the Encode manpage
Paul Marquess pmqs@cpan.org