Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print unicode character

Status
Not open for further replies.

zackiv31

Programmer
Joined
May 25, 2006
Messages
148
Location
US
I have a unicode character (a black triangle pointing up) that I want to print in perl. Is this possible? How would I go about doing it.

Looking it up in winxp character map its: U+25B2
 
Try this:
Code:
perl -e 'binmode STDOUT, ":utf8"; print "\x{25b2}", "\n";'

Trojan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top