Perl: the Markov chain saw | |
PerlMonks |
Re: Unicode word wrappingby dingus (Friar) |
on Dec 09, 2002 at 12:15 UTC ( [id://218503]=note: print w/replies, xml ) | Need Help?? |
Remember that because Japanese doesn't really have spaces between words you can split it ANYWHERE without a problem. So assuming you detect some Japanese then you rule should simpley be instert a \n after every N characters if there isn't one.
Dingus Enter any 47-digit prime number to continue.
In Section
Seekers of Perl Wisdom
|
|