in reply to Re^6: Printing the first letter of the Hebrew alphabet (U05D0) kills script?
in thread Printing the first letter of the Hebrew alphabet (U05D0) kills script?

While a raw 0x9B doesn't work on my (non-xterm) console, the UTF-8 encoding of 0x9B works!

# Doesn't work perl -we'print "\x9B31m", "foo", "\x9B0m", "bar", "\n";' # Works perl -CS -we'print "\x9B31m", "foo", "\x9B0m", "bar", "\n";'

Neither work on in an xterm for me.

  • Comment on Re^7: Printing the first letter of the Hebrew alphabet (U05D0) kills script?
  • Download Code