NAME

Encode::BetaCode - Perl module for converting to and from Beta Code

VERSION

Version 0.11

SYNOPSIS

use Encode::BetaCode qw(beta_decode beta_encode);

my $unicode_text = beta_decode($language, $text);

my $betacode_text = beta_encode($language, $style, $text);

DESCRIPTION

Encode::BetaCode provides functions that convert Beta Code strings to Unicode and reverse. No functions are exported by default.

"use Encode::BetaCode qw(:all)" exports all of them.

FUNCTIONS

beta_decode LANGUAGE, STRING

Converts strings from Beta Code to Unicode.

Supported languages (so far):

-> 'greek'

-> 'greek_punct' (with punctuation conversions)

beta_encode LANGUAGE, STYLE, STRING

Converts strings from Unicode to Beta Code. It can also handle text with combined characters.

Supported languages (so far):

-> 'greek'

-> 'greek_punct' (with punctuation conversions)

Supported styles (so far):

-> 'TLG'

-> 'Perseus'

BUGS

Please report any bugs or feature requests to bug-encode-betacode at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Encode-BetaCode.

I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Also, the source code is available at GitHub: https://github.com/dgkontopoulos/Encode-BetaCode

AUTHOR

Dimitrios - Georgios Kontopoulos, <dgkontopoulos at member.fsf.org>

ACKNOWLEDGEMENTS

The inspiration to write this module is thanks to Jennie Petoumenou, a member of the Ubuntu-gr community (http://ubuntu-gr.org/). Her contribution to defining and testing the conversion rules was more than significant.

Valuable contributions in form of bug reports have been also provided by Philipp Steinkrüger, Juan Miguel Corral Cano, and JPapir.

SEE ALSO

http://www.tlg.uci.edu/encoding/

http://www.perseus.tufts.edu/hopper/

http://en.wikipedia.org/wiki/Beta_code

COPYRIGHT

Copyright 2012-22 Dimitrios - Georgios Kontopoulos.

LICENSE

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