The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

My::UTFConvert -- Provide automatic UTF-8 conversion

SYNOPSIS

# In object configuration
object => {
   rules_from => [ 'My::UTFConvert' ],
   utf_fields => [ 'field1', 'field2' ],
},

WARNING

This currently only works in 5.6.0 and earlier versions of Perl. It will barf with a syntax error on later versions.

DESCRIPTION

Provides translation from/to unicode datasources via UTF8. When an object is fetched we do a translation on the fields specified in 'utf_fields' of the object configuration, and before an object is saved we do a translation on those same fields.

METHODS

from_utf

to_utf

BUGS

None known.

TO DO

Nothing known.

SEE ALSO

utf8

perlunicode

COPYRIGHT

Copyright (c) 2001-2002 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>

Andreas Nolte <andreas.nolte@bertelsmann.de>