DBM_Filter::utf8(3perl) Perl Programmers Reference Guide DBM_Filter::utf8(3perl)

DBM_Filter::utf8 - filter for DBM_Filter

use SDBM_File; # or DB_File, GDBM_File, NDBM_File, or ODBM_File
use DBM_Filter;

$db = tie %hash, ...
$db->Filter_Push('utf8');

This Filter will ensure that all data written to the DBM will be encoded in UTF-8.

This module uses the Encode module.

DBM_Filter, perldbmfilter, Encode

Paul Marquess pmqs@cpan.org
2021-05-23 perl v5.34.0