POV-Ray : Newsgroups : povray.general : ATTN Gilles Tran: your Library includes crash POV : Re: ATTN Gilles Tran: your Library includes crash POV Server Time
5 Aug 2024 18:25:06 EDT (-0400)
  Re: ATTN Gilles Tran: your Library includes crash POV  
From: Thorsten Froehlich
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

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