POV-Ray : Newsgroups : povray.newusers : Degree symbol : Re: Degree symbol Server Time
18 May 2024 05:59:07 EDT (-0400)
  Re: Degree symbol  
From: Thorsten
Date: 14 Sep 2023 14:32:35
Message: <650351c3$1@news.povray.org>
On 14.09.2023 14:51, kurtz le pirate wrote:
> Hello,
> 
> Cannot use degrees "°" symbol in POV. In UTF8, the code is 176/0xB0.
> 
> In global_settings, I've added the option "charset utf8".
> 
> I defined: #declare DEGREE_SIGN = chr(176);
> 
> Both in the console (#debug") and in a :
> #declare DEStr = concat(str(DECDeg,-2,0), DEGREE_SIGN,
> str(DECMinute,-2,3),"'")
> #write (OUTFILE, concat(DateStr,"\t", RAStr,"\t", DEStr,"\n") )
> 
> 
> The sign never appears...
> Any help ?

The charset only affects the rendering of text. Console output is ASCII.

Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.