Hello, I need to seperate unicode characters from a file containg utf8 text. I have tried: @charx = split //, $line; and $var = substr($line, 0, 1); but they fail to seperate chars as they seperate only one byte. I have put "use utf8;" it didnt change anything. I guess perl 5.8.0 have to handle utf8 in substr but it doesnt. Is there any suggestion to do so please?
Regards, S. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>