in reply to Re^2: How to print the actual bytes of UTF-8 characters ?
in thread How to print the actual bytes of UTF-8 characters ?

\ is the reference operator. Instead of using a file, I open the variable for output (see FILEHANDLE, MODE, REFERENCE in open). I set its encoding to UTF-8 and print the character to it. $bytes now contains the two bytes of the character as encoded in UTF-8.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^4: How to print the actual bytes of UTF-8 characters ?
by RCH (Sexton) on Feb 06, 2014 at 17:49 UTC
    \ is the reference operator

    Ah - of course
    Many thanks