in reply to Re^6: sring encode problem (hexadecimal)
in thread sring encode problem (hexadecimal)

They are equivalent. I prefer to use \x{20AC} (and \x escapes in general) because that's encoding agnostic. If you write $string = "€";, I cannot see whether that's UTF-8, or perhaps ISO-8856-15.