POV-Ray : Newsgroups : povray.programming : Character bit length issue Server Time
22 Dec 2024 01:21:19 EST (-0500)
  Character bit length issue (Message 1 to 4 of 4)  
From: The Linux Doctor
Subject: Character bit length issue
Date: 19 Mar 2006 00:35:00
Message: <web.441cecfe5f2042535d368740@news.povray.org>
I'm running POVRAY 3.6.1 and I have a need to be able to use the full 8-bit
ASCII to include some German ligature characters. I noticed that in the
file 'parsestr.cpp' they chop the characters down to 7-bits. I also noticed
that apparently this was not a restriction for versions earlier than 3.5.0.

Is there any specific reason why the change? I don't see the need for it
myself.

Thanx.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Character bit length issue
Date: 19 Mar 2006 01:06:06
Message: <441cf4ce$1@news.povray.org>
The Linux Doctor wrote:
> I'm running POVRAY 3.6.1 and I have a need to be able to use the full 8-bit
> ASCII to include some German ligature characters. I noticed that in the
> file 'parsestr.cpp' they chop the characters down to 7-bits. I also noticed
> that apparently this was not a restriction for versions earlier than 3.5.0.

You misunderstand the source code. Instead, you should be reading the user 
manual: <http://www.povray.org/documentation/view/3.6.1/263/>

	Thorsten


Post a reply to this message

From: The Linux Doctor
Subject: Re: Character bit length issue
Date: 19 Mar 2006 10:45:01
Message: <web.441d7bf6b1032798fd10d49c0@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> The Linux Doctor wrote:
> > I'm running POVRAY 3.6.1 and I have a need to be able to use the full 8-bit
> > ASCII to include some German ligature characters. I noticed that in the
> > file 'parsestr.cpp' they chop the characters down to 7-bits. I also noticed
> > that apparently this was not a restriction for versions earlier than 3.5.0.
>
> You misunderstand the source code. Instead, you should be reading the user
> manual: <http://www.povray.org/documentation/view/3.6.1/263/>
>
>  Thorsten

Ah, right. I got it. What was I thinking?? I guess I'll have to get a UTF-8
capable editor. The only one I know of is emacs, which i hate. Sigh.

Thanks for your help.


Post a reply to this message

From: Daniel Hulme
Subject: Re: Character bit length issue
Date: 19 Mar 2006 14:35:49
Message: <20060319193552.2b14e8ee@mekanori.mon.istic.org>
> Ah, right. I got it. What was I thinking?? I guess I'll have to get a
> UTF-8 capable editor. The only one I know of is emacs, which i hate.
> Sigh.
Vim reads and writes files in many encodings, including UTF-8. Just use
:set enc=utf8

-- 
"For God's  sake,  please give it up.  Fear it no less  than the sensual
passion,  because it, too,  may take up all your time and deprive you of
your health, peace of mind and happiness in life."      Wolfgang Bolyai,
urging  his son  to  give up  his  research  on  non-Euclidean  geometry


Post a reply to this message

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