POV-Ray : Newsgroups : povray.general : Use of characters like =FC,=E4,=F6 : Re: Use of characters like =FC,=E4,=F6 Server Time
29 Jul 2024 22:28:45 EDT (-0400)
  Re: Use of characters like =FC,=E4,=F6  
From: Alain
Date: 3 Jun 2010 17:34:24
Message: <4c081fe0$1@news.povray.org>

> Hi!
> This question has two parts:

> The text (TheText) runs through a loop where all letters are checked like:
> #local b=substr(TheText,I+1,1);
> #if (strcmp(b," ")!=0)
>

> Is that right? How could I circumvent this?
> (I render text currently using TIMESBD.TTF. I will use another font anyway
> later, but it hasn't to do anything with the font used for rendering.)
>
> 2. The same when I try to write the text in a text file with #write:
> #write(fileHandle,
>          concat("rename \"vorlage 0001.png\" ",
>          TheText, ".png\"",
>          "\n")
>        )
>

>
> Part 1 is much more important to me, as part 2 I can easily handle with a
> workaround.
>
> Greetings
> DH =)
>
>
Add:
global_settings{charset utf8}
Then use "\u00fc", "\u00e4" or "\u00f6" in your strings.


Alain


Post a reply to this message

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