I'm trying to paste the infinity symbol ∞ into POV-Ray but it keeps
replacing the symbol with the number 8. How do I get around this? I am
using utf8 for the text encoding.
Mike
From: Mike Horvath
Subject: Re: Infinity symbol
Date: 9 Dec 2015 19:48:14
Message: <5668cbce@news.povray.org>
On 12/9/2015 7:28 PM, Mike Horvath wrote:
> I'm trying to paste the infinity symbol ∞ into POV-Ray but it keeps> replacing the symbol with the number 8. How do I get around this? I am> using utf8 for the text encoding.>> Mike
Can I use unicode escape sequences? I don't see them mentioned in the docs.
Mike
On 2015-12-09 16:28, Mike Horvath wrote:
> I'm trying to paste the infinity symbol ∞ into POV-Ray but it keeps> replacing the symbol with the number 8. How do I get around this? I am> using utf8 for the text encoding.>> Mike
Are you sure it's not the infinity symbol just standing up on end? Maybe
you just need a translation to rotate it onto it's side?
I don't know. It's just a suggestion.
Todd
On 12/9/2015 8:30 PM, Todd Carnes wrote:
> Are you sure it's not the infinity symbol just standing up on end? Maybe> you just need a translation to rotate it onto it's side?>> I don't know. It's just a suggestion.>> Todd>
LOL! Nope!
Mike
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Le 10/12/2015 01:48, Mike Horvath a écrit :
> On 12/9/2015 7:28 PM, Mike Horvath wrote:>> I'm trying to paste the infinity symbol ∞ into POV-Ray but it>> keeps replacing the symbol with the number 8. How do I get around>> this? I am using utf8 for the text encoding.>> >> Mike> > > Can I use unicode escape sequences? I don't see them mentioned in> the docs.> > Mike
I guess you are on windows. I do not know about the copy-paste
capability of the editor.
there is an escape sequence in povray...
global_settings { charset utf8 }
#local UnicodeString="\ueaa0\ueab0";
As long as the glyph code is less than 0xFFFF. The glyphs needing more
than 2 bytes are not available.
Infinity is 0x221E, so you're fine.
But that is only half of your problem: the font used (in a text{})
must also have the relevant character.
http://www.povray.org/documentation/view/3.6.2/263/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iJwEAQEIAAYFAlZpHKEACgkQhKAm8mTpkW2McwP7BFfiCVWAke5/NmNFePedFzmP
se26d6P3hD/Py9o5v9Js1X/MBSKaVU0HJIjO8kF5WoXD6qaKkOYb66Bbr9rC240v
XRwxc2HB3TBrhxW1FhVcWtOKkp4LFMwNgUGxgJDIs2Jm+66vM7EMVMLQqVaGJ0v5
fqKhSjtD9GXIIitz1Rg=
=upHv
-----END PGP SIGNATURE-----