House ⌂

acme on 2006-08-07T15:10:55

I was trawling through Unicode code charts (errr, don't you?) and I noticed a little house symbol in Miscellaneous Technical (PDF) section. I work for a real estate company but I somehow found inner strength and resisted from plastering it all over their site. Anyway, see it in the title or experience it on your terminal today:

perl -e 'use charnames ":full"; die "\N{HOUSE}"'


Using print() instead of die()?

Ovid on 2006-08-07T15:28:11

To avoid the "Wide character in print" warning, I need to do this:

perl -le 'binmode STDOUT, ":utf8"; use charnames ":full"; print "\N{HOUSE}"'

Is that the correct way to handle this?

Re:Using print() instead of die()?

Dom2 on 2006-08-07T15:36:57

For a one liner, you're probably better off looking at perl -CS (docs).

-Dom

Unicode--

drhyde on 2006-08-08T11:22:28

I get an a-circumflex, proving yet again that Unicode still isn't ready for the real world.

Re:Unicode--

Aristotle on 2006-08-20T06:45:31

No, it’s your terminal that isn’t. $broken_software--