note
Perlbotics
<p>
What's your input character set? Latin-X? UTF-Y?
<br>
The demo section of [cpan://GSM::Nbit] provides a good hint:
<c>
use Encode qw/encode decode/;
...
# We need to encode it first - for details see:
# http://www.dreamfabric.com/sms/default_alphabet.html
my $txt0338 = encode("gsm0338", $txt); # <--- look!
...
</c>
I havn't checked it, but [cpan://Encode] seems to have solved
your problem already or can do most of the heavy lifting for you?
See also: [cpan://Encode::GSM0338]
<br>
The link to dreamfabric seems no longer availabe, but the [https://web.archive.org/|Wayback Machine] still [https://web.archive.org/web/20080409012602/http://www.dreamfabric.com/sms/default_alphabet.html|remembers].
</p>
1226629
1226629