in reply to Re^2: Different behaviour in characters in string vs. array?
in thread Different behaviour in characters in string vs. array?

perldoc -f split
A pattern matching the null string (not to be confused with a null pattern // , which is just one member of the set of patterns matching a null string) will split the value of EXPR into separate characters at each point it matches that way.

The characters are one byte length unless you specify utf8 encoding, so split splits every double byte russian charachter to a couple ASCII characters.

  • Comment on Re^3: Different behaviour in characters in string vs. array?