NAME
Lingua::MY::Zawgyi2Unicode - providing a module for converting Burmese text in Zawgyi to Unicode (UTF-8).
VERSION
0.001
SYNOPSIS
use Lingua::MY::Zawgyi2Unicode;
# /.../
# check if the $string is Burmese (fast operation)
# and if so, also check if the $string is in
# zawgyi encoding.
if (isBurmese($string) and isZawgyi($string)) {
$string = convert($string);
}
DESCRIPTION
A Perl implementation to convert Burmese text in Zawgyi to Unicode (UTF-8). Inspiration, algortithms, and bits of code has been cherry picketed from the MUA-Web-Unicode-Converter project and Rabbit-Converter project.
FUNCTIONS
isBurmese
Check if a string is Burmese text, either Zawgyi or Unicode. Considered a quick operation.
isZawgui
Check if a string is Zawgyi. This function is slower than isBurmese, so it makes sense to check with isBurmese prior to call this.
convert
This function convert the supplied string to Unicode and return the result. Do not call this function with a (Burmese) Unicode string, if uncertain of the encoding, check with the above is-functions.
SOURCE
https://github.com/jokke/Lingua-MY-Zawgyi2Unicode
HOMEPAGE
https://metacpan.org/release/Lingua-MY-Zawgyi2Unicode
AUTHOR
Joakim Lagerqvist, <jokke at cpan.org>
BUGS
Please report any bugs or feature requests to bug-lingua-my-zawgui2unicode at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-My-Zawgui2Unicode. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2009 Joakim Lagerqvist, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.