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

Text::Demoroniser - A text filter that allows you to demoronise a string.

SYNOPSIS

  use Text::Demoroniser qw(demoroniser);

  my $bad  = 'string with smart characters in'
  my $good = demoroniser($bad);

DESCRIPTION

A text filter that allows you to replace inappropriate Microsoft characters a string with something more suitable.

API

This module exports following filters:

demoroniser

Given a string, will replace the Microsoft "smart" characters with sensible ACSII versions.

demoroniser_utf8

The same as demoroniser, but converts into correct UTF8 versions.

SEE ALSO

Encode::ZapCP1252

AUTHOR

Barbie, <barbie@missbarbell.co.uk>

COPYRIGHT AND LICENSE

Copyright (C) 2009,2010 by Barbie

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.