Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: print Delta symbol

by shmem (Canon)
on Feb 02, 2013 at 20:19 UTC ( #1016748=note: print w/ replies, xml ) Need Help??


in reply to print Delta symbol

TIMTOWTDI, as usual. From the "U+0370 U+03FF Greek and Coptic" code block:

# decimal 916 is hex 394 perl -le 'binmode STDOUT,":utf8"; print "\x{394}"'

That's for UNIX/Linux systems, use with e.g. gnome-terminal. The binmode call is in there to defeat perl's "Wide character in print" warning.

Porting to other random operating systems is left as an excercise to the reader.
Of course, you must have the appropriate fonts installed on your system to display unicode characters at the terminal.
Check out http://decodeunicode.org for other symbols.


Comment on Re: print Delta symbol
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016748]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-06 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls