Skip Menu |

This queue is for tickets about the Lingua-JA-Romaji CPAN distribution.

Report information
The Basics
Id: 28948
Status: new
Priority: 0/
Queue: Lingua-JA-Romaji

People
Owner: Nobody in particular
Requestors: scott [...] sopor.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: '0' in a string causes kanatoromaji conversion to fail
If the kana string passed to the kanatoromaji function has a 0 in it, the returned string will be truncated after the 0. This is because of line 106 in Romaji.pm. The while condition should check if $thisbyte is defined, not simply whether it evaluates to true. It reads: while (my $thisbyte = shift @skb) { It should be: while (defined(my $thisbyte = shift @skb)) {