POV-Ray : Newsgroups : povray.off-topic : Unicode : Re: Unicode Server Time
4 Sep 2024 19:24:04 EDT (-0400)
  Re: Unicode  
From: Fredrik Eriksson
Date: 31 Jan 2010 19:28:45
Message: <op.u7e995gr7bxctx@toad.bredbandsbolaget.se>
On Mon, 01 Feb 2010 01:13:34 +0100, Warp <war### [at] tagpovrayorg> wrote:
>
>   Hmm, I'm not exactly sure what you mean by "UTF-16 code point".

I mean a single 16-bit value from a UTF-16 string.

>   Thus I'm not exactly sure what you mean by "UTF-16 code point", as it
> seems to be mixing the two things into one concept.

Yeah, I should have used "code unit" instead.



>   Anyways, if the Unicode-aware program requests a Unicode character from
> the system, and the system returns it UTF-16-encoded, I suppose that  
> means that the program must decode it to a Unicode code point before it
> can use it (unless it specifically handles UTF-16 strings directrly, of
> course).

Yes, unless...

>   Hmm, that sounds like a hindrance. Couldn't the system return raw  
> Unicode code points directly?

Starting with Windows XP, it can.



-- 
FE


Post a reply to this message

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