POV-Ray : Newsgroups : povray.newusers : Degree symbol : Degree symbol Server Time
29 Sep 2023 18:48:28 EDT (-0400)
  Degree symbol  
From: kurtz le pirate
Date: 14 Sep 2023 08:51:18
Message: <650301c6$1@news.povray.org>
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 ?



-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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