On Mar 5, 2004, at 8:03 PM, Tim Bates wrote: > Phil Tomson wrote: >> But I didn't find them in there... Which makes me wonder if it's even >> possible to output them this way. I know that to get them in HTML you >> use ® and ™ > > `puts 174.chr` gives me a little (R) symbol that's rather difficult to > read, and `puts 153.chr` gives me a dotted square - so I guess it > depends on what terminal font you're using. I assume you're wanting to > do this in a terminal window? The answer probably is that there's no > guaranteed portable way to do it except for "(R)" and "(TM)". Vaguely related (and important for everyone to read, IMO): "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)" http://www.joelonsoftware.com/articles/Unicode.html -- (-, /\ \/ / /\/