POV-Ray : Newsgroups : povray.general : ATTN Gilles Tran: your Library includes crash POV Server Time
5 Aug 2024 18:17:51 EDT (-0400)
  ATTN Gilles Tran: your Library includes crash POV (Message 7 to 16 of 26)  
<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 21 Sep 2002 20:41:58
Message: <3d8d11d6$1@news.povray.org>
Thorsten Froehlich wrote:
> Please note:  An error reported by POV-Ray is *not* a crash!!!
> It is extremely important to use the correct terminology in this case as
> using the wrong terminology will cause confusion sooner or later!

Gomen!  You're right, it wasn't a crash... ^_^;

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 21 Sep 2002 20:48:02
Message: <3d8d1342@news.povray.org>
Gilles Tran wrote:
> object{ TheMacro(blah,blah,blah,blah) translate blah blah blah}
> (see the library_new.pov and library_old.pov if you missed them)

Ooh, thankee!

By the way, some of the book patterns aren't exactly what I'd call
compatible with text on the spine...and the book generator only puts
one title per book type??(??) so you get a lot of duplicate books
with the same pattern and title instead of same pattern, different
title...might be something I overlooked, but there it is.

Plus I don't think POV likes unicode-format text files O.o
*sigh* Unicode is such a cool idea!  Why doesn't more software support
it?!

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Christopher James Huff
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 21 Sep 2002 22:28:44
Message: <chrishuff-0CB658.22264421092002@netplex.aussie.org>
In article <3d8d1342@news.povray.org>,
 "Timothy R. Cook" <tim### [at] scifi-fantasycom> wrote:

> Plus I don't think POV likes unicode-format text files O.o
> *sigh* Unicode is such a cool idea!  Why doesn't more software support
> it?!

Did you bother to check the documentation?

http://www.povray.org/documentation/view/365/
"Any ASCII or Unicode character, depending on the charset setting in 
global_settings."


http://www.povray.org/documentation/view/219/
"The option utf8 is a special Unicode text encoding and it allows you to 
specify characters of nearly all languages in use today."

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 21 Sep 2002 23:18:29
Message: <3d8d3685@news.povray.org>
Christopher James Huff wrote:
> Did you bother to check the documentation?
> http://www.povray.org/documentation/view/365/
> "Any ASCII or Unicode character, depending on the charset setting in 
> global_settings."

File: MakeBook.inc  Line: 33
#while (defined(fTitles)) // read once to get the number of titles



Parse Error: Illegal character in input file, value is ef.

Returned from renderer with error status

The input file in question is as follows (the file is encoded with utf8:
"\u3061\u3087\u3073\u3064\u30C4",
"\u30D5\u30EB\u30E0\u30FC\u30F3\u6E80\U6708\u3092\u2055\u304C\u3057\u3066"
EOF

But wait, it gets even better!  When I save the file with ansi encoding,
it does, in fact, render...

...but...

the fonts I wish to use are "C:\\windows\\fonts\\msgothic.ttc" and
"C:\\windows\\fonts\\msmincho.ttc"

which should interpret the above listed utf8 codes as (in this order)

double quote, hiragana chi, hiragana small yo, hiragana bi, hirigana
tsu, katakana tsu, double quote, comma, katakana fu, katkana ru,
katakana mu, hiragana/katakana prolonged sond mark, katakana n, unified
CJK ideograph 'full', unified CJK ideograph 'moon', hiragana wo,
hiragana sa, hiragana ga, hiragana shi, hiragana te, double quote
EOF

guess what it doesn't do.  try it yourself.  then tell me again how
POV supports unicode.

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 21 Sep 2002 23:20:34
Message: <3d8d3702$1@news.povray.org>
Timothy R. Cook wrote:
> double quote, hiragana chi, hiragana small yo, hiragana bi, hirigana
> tsu, katakana tsu, double quote, comma,

Insert "CR/LF, double quote" here

 > katakana fu, katkana ru,
> katakana mu, hiragana/katakana prolonged sond mark, katakana n, unified
> CJK ideograph 'full', unified CJK ideograph 'moon', hiragana wo,
> hiragana sa, hiragana ga, hiragana shi, hiragana te, double quote
> EOF

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 04:24:45
Message: <3d8d7e4d$1@news.povray.org>
In article <3d8d3685@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

>> Did you bother to check the documentation?
>> http://www.povray.org/documentation/view/365/
>> "Any ASCII or Unicode character, depending on the charset setting in
>> global_settings."
>
> File: MakeBook.inc  Line: 33
> #while (defined(fTitles)) // read once to get the number of titles
>

>
> Parse Error: Illegal character in input file, value is ef.

Where does the POV-Ray documentation ever say that you may use any but A-Z,
a-z,0-9 and _ in an identifier?  I do not recall that it says you may use
any other charcaters in identifiers...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 04:27:40
Message: <3d8d7efc@news.povray.org>
In article <3d8d3685@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> The input file in question is as follows (the file is encoded with utf8:
> "\u3061\u3087\u3073\u3064\u30C4",
> "\u30D5\u30EB\u30E0\u30FC\u30F3\u6E80\U6708\u3092\u2055\u304C\u3057\u3066"
> EOF

Where does the POV-Ray documentation ever say that the #read directive does
support utf8?  I do not recall it being specified to read and decode
anything in files in the way you are trying to use.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 04:35:18
Message: <3d8d80c6$1@news.povray.org>
In article <3d8d3685@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> guess what it doesn't do.  try it yourself.  then tell me again how
> POV supports unicode.

POV-Ray supports Unicode just fine if one actually would bother to read the
documentation.  Neither of the two examples is said to be valid anywhere.
To the contrary, it says:

10.1.3.5 Strings
String Expressions
STRING:
    STRING_FUNCTION | STRING_IDENTIFIER | STRING_LITERAL
STRING_FUNCTION:



STRING_LITERAL:
    QUOTE [CHARACTER...] QUOTE
    Limited to 256 characters.
QUOTE:
    "
CHARACTER:
    Any ASCII or Unicode character, depending on the charset setting in
    global_settings. The following escape sequences might be useful when
    writing to files or message streams:
    \a - alarm
    \b - backspace
    \f - form feed
    \n - new line
    \r - carriage return
    \t - horizontal tab
    \uNNNN - unicode character four-digit code
    \v - vertical tab
    \\ - backslash
    \' - single quote
    \" - double quote

From this it is trivial to see an example of the currect use:

    #declare foostr = "\u3061\u3087\u3073\u3064\u30C4";

Very clear and very simple...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 04:46:15
Message: <3d8d8357@news.povray.org>
Thorsten Froehlich wrote:
> POV-Ray supports Unicode just fine if one actually would bother to read the
> documentation.  Neither of the two examples is said to be valid anywhere.
> Very clear and very simple...

I are confused now.  Why would POV, supporting unicode strings
internally, not be able to read a data file...that's ansi, and
use that as a string...in whatever format?

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 04:47:38
Message: <3d8d83aa@news.povray.org>
Thorsten Froehlich wrote:

> Where does the POV-Ray documentation ever say that you may use any but A-Z,
> a-z,0-9 and _ in an identifier?  I do not recall that it says you may use
> any other charcaters in identifiers...

...that is rather strange, which I did not notice when I got the error.
Of course, there is no i with umlaut in the file, so, who knows?

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>

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