[Tfug] UTF in source code?
trexx at pobox.com
Sat Oct 2 06:48:12 MST 2010
Generally the code is limited to 8bits, While character values can be
So the code you write cannot have phi the text you work with can.
I have not kept up but this was true a while back.
On Fri, Oct 1, 2010 at 11:50 PM, John Gruenenfelder <johng at as.arizona.edu>wrote:
> I'm in the process of writing my own ray tracer. Not surprisingly, when
> deal with anything curved, you end up with variables representing phi, pi,
> theta, etc. Of course, right now I am just spelling them out like that.
> But, are a great many programs UTF-8 (or whatever) happy now? For example,
> I'm writing in EMACS and compiling with g++. Anybody know if they handle
> If they do, it would be nice to actually use the pi character and others.
> have to find out how to type these in Emacs properly, but Google can help
> there. I didn't find much info about UTF-8 support, though.
> Anybody tried this? Or maybe you wrote some code in a foreign language
> (naturally just the comments)?
> --John Gruenenfelder Systems Manager, MKS Imaging Technology, LLC.
> Try Weasel Reader for PalmOS (soon for Android) --
> "This is the most fun I've had without being drenched in the blood
> of my enemies!"
> --Sam of Sam & Max
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tfug