POV-Ray : Newsgroups : povray.off-topic : Unicode Server Time
13 Oct 2026 07:51:14 EDT (-0400)
  Unicode (Message 1 to 32 of 32)  
From: Orchid XP v8
Subject: Unicode
Date: 31 Jan 2010 12:05:55
Message: <4b65b873@news.povray.org>
OK, so here's a question: How do you actually type in Unicode characters 
that aren't on your keyboard?

It's nice that Unicode exists, and a tiny fraction of software in 
existence even supports it, and approximately 3 fonts in the world have 
the appropriate glyphs in them. But how do you type those?

(For example, I've discovered that if I want to type, say, "ü", I can 
look up the Wikipedia article for "U" and the article for "ü" is linked 
from there. But that requires an Internet connection, and seems like an 
absurdly long-winded way of going about things...)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Unicode
Date: 31 Jan 2010 12:41:09
Message: <4b65c0b5$1@news.povray.org>
Orchid XP v8 wrote:
> (For example, I've discovered that if I want to type, say, "ü", I 
can 
> look up the Wikipedia article for "U" and the article for "ü" is l
inked 
> from there. But that requires an Internet connection, and seems like an
 
> absurdly long-winded way of going about things...)

If you know the code number, it's some keyboard escape, like holding down
 
the alt key while typing on the numeric keypad or something.

If you don't, the application under Windows is called "Character Map", an
d I 
think it's under Accessories in pre-Vista windows.

-- 
Darren New, San Diego CA, USA (PST)
   Forget "focus follows mouse." When do
   I get "focus follows gaze"?


Post a reply to this message

From: nemesis
Subject: Re: Unicode
Date: 31 Jan 2010 12:50:01
Message: <web.4b65c1f1bf9260a53e9ff120@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Orchid XP v8 wrote:
> If you don't, the application under Windows is called "Character Map", an
> d I
> think it's under Accessories in pre-Vista windows.

yep, even Ubuntu got that, same location.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Unicode
Date: 31 Jan 2010 13:05:04
Message: <4b65c650$1@news.povray.org>
Orchid XP v8 wrote:
> (For example, I've discovered that if I want to type, say, "ü", I can
> look up the Wikipedia article for "U" and the article for "ü" is linked
> from there. But that requires an Internet connection, and seems like an
> absurdly long-winded way of going about things...)

You don't even need unicode for that character, ISO-8859-1 has it.
I type it by pressing shift-´ (which is ¨), then 'u'.

For ñ I simply have a separate key.

On Linux, my keyboard layout has some useful Unicode stuff under AltGr + 
letters. For example “proper quotes” (AltGr + V and B respectively) or the © 
symbol (AltGr + Shift + C).


Post a reply to this message

From: Le Forgeron
Subject: Re: Unicode
Date: 31 Jan 2010 13:07:40
Message: <4b65c6ec$1@news.povray.org>
Le 31/01/2010 18:05, Orchid XP v8 nous fit lire :
> OK, so here's a question: How do you actually type in Unicode characters
> that aren't on your keyboard?
> 
Depend on your application, i guess.
For instance, vi/gvim have a ctrl-v/u/4hex digit sequence as escape for
inputing such characters (as long as your font support it, and you're in
not in need of the extended pages (after 16 bits))


Post a reply to this message

From: Orchid XP v8
Subject: Re: Unicode
Date: 31 Jan 2010 13:08:31
Message: <4b65c71f$1@news.povray.org>
Darren New wrote:

> If you know the code number, it's some keyboard escape, like holding 
> down the alt key while typing on the numeric keypad or something.

Sure. But there are zillions of Unicode characters you might want to 
use. (I forget how many accented vowels there are. And then there's all 
the mathematical symbols that somebody like me might use...)

> If you don't, the application under Windows is called "Character Map", 
> and I think it's under Accessories in pre-Vista windows.

Right. I guess that's probably the least clunky way to do things...

And of course, a decent text editor will allow you to bind shortcuts to 
commonly used Unicode characters. [Now to go find "a decent text editor" 
before somebody tells me to start using Emacs. :-P ]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: andrel
Subject: Re: Unicode
Date: 31 Jan 2010 14:20:53
Message: <4B65D814.7020400@hotmail.com>
On 31-1-2010 19:04, Nicolas Alvarez wrote:
> Orchid XP v8 wrote:
>> (For example, I've discovered that if I want to type, say, "ü", I can
>> look up the Wikipedia article for "U" and the article for "ü" is linked
>> from there. But that requires an Internet connection, and seems like an
>> absurdly long-winded way of going about things...)
> 
> You don't even need unicode for that character, ISO-8859-1 has it.
> I type it by pressing shift-´ (which is ¨), then 'u'.

if you have the right language installed. English in general has not 
much use for ü so that is not default for Andy.

> For ñ I simply have a separate key.
> 
> On Linux, my keyboard layout has some useful Unicode stuff under AltGr + 
> letters. For example “proper quotes” (AltGr + V and B respectively) or the © 
> symbol (AltGr + Shift + C).
>


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 14:27:43
Message: <4b65d9af@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> Orchid XP v8 wrote:
> > (For example, I've discovered that if I want to type, say, "ü", I can
> > look up the Wikipedia article for "U" and the article for "ü" is linked
> > from there. But that requires an Internet connection, and seems like an
> > absurdly long-winded way of going about things...)

> You don't even need unicode for that character, ISO-8859-1 has it.
> I type it by pressing shift-?? (which is ??), then 'u'.

  I don't think the question was if Unicode is necessary to get the
character, but instead how to get the unicode character in question.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 14:28:53
Message: <4b65d9f5@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> If you know the code number, it's some keyboard escape, like holding down 
> the alt key while typing on the numeric keypad or something.

  Are you sure that supports unicode and not just the system default
character mapping (which in Windows would be that Windows extension to
ISO-Latin-1, at least in western countries)?

> If you don't, the application under Windows is called "Character Map", and I 
> think it's under Accessories in pre-Vista windows.

  Likewise.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 14:31:24
Message: <4b65da8b@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> OK, so here's a question: How do you actually type in Unicode characters 
> that aren't on your keyboard?

  You can switch keyboard mappings, you know.

  But I suppose that if you need some special character which is not really
part of any mapping (or any mapping you know or are familiar with), you use
some utility program. Some text editors might have such a feature built in.

  If you are writing HTML (or XML), you can write the unicode value directly
as &#xxxx; (IIRC). Might require proper HTML/HTTP headers for the client
program to interpret properly.

-- 
                                                          - Warp


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Unicode
Date: 31 Jan 2010 15:25:35
Message: <op.u7ey0wsb7bxctx@toad.bredbandsbolaget.se>
On Sun, 31 Jan 2010 20:28:53 +0100, Warp <war### [at] tagpovrayorg> wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> If you know the code number, it's some keyboard escape, like holding  
>> down the alt key while typing on the numeric keypad or something.
>
>   Are you sure that supports unicode and not just the system default
> character mapping (which in Windows would be that Windows extension to
> ISO-Latin-1, at least in western countries)?


On Sun, 16 Oct 2005 09:28:09 +0200, Fredrik Eriksson wrote:
>
> " Alt+<xxx>, where xxx is the decimal value of a code point, generates  
> an OEM-encoded character.
>  Alt+<0xxx>, where xxx is the decimal value of a code point, generates a  
> Windows-encoded character.
>  Alt+<+>+<xxxx>, where xxxx is the hexadecimal Unicode code point,  
> generates a Unicode-encoded (UTF-16) character."
>http://www.microsoft.com/globaldev/reference/glossary.mspx



-- 
FE


Post a reply to this message

From: Darren New
Subject: Re: Unicode
Date: 31 Jan 2010 15:37:52
Message: <4b65ea20$1@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> If you know the code number, it's some keyboard escape, like holding down 
>> the alt key while typing on the numeric keypad or something.
> 
>   Are you sure that supports unicode and not just the system default
> character mapping 


"some keyboard escape like ..."

I know you can type unicode, and I know you can type ASCII, but I don't 
remember how to invoke one vs the other.

GIYF

http://www.fileformat.info/tip/microsoft/enter_unicode.htm

Basically, type numeric plus first to get unicode.


-- 
Darren New, San Diego CA, USA (PST)
   Forget "focus follows mouse." When do
   I get "focus follows gaze"?


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 17:10:45
Message: <4b65ffe4@news.povray.org>
Fredrik Eriksson <fe79}--at--{yahoo}--dot--{com> wrote:
> >  Alt+<+>+<xxxx>, where xxxx is the hexadecimal Unicode code point,  
> > generates a Unicode-encoded (UTF-16) character."

  If Windows takes the raw Unicode value (as entered by the user) and
encodes it in UTF-16 before passing it to the application, that would
mean that the application must understand UTF-16 as its input from (what
it perceives as) the keyboard.

  Which programs actually support that? (And why UTF-16, of all possible
Unicode encoding formats?)

  (An alternative to this is that the person who wrote that sentence has
no idea what he's talking about, unless I'm understanding incorrectly the
whole process involved.)

-- 
                                                          - Warp


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Unicode
Date: 31 Jan 2010 17:54:54
Message: <op.u7e5xqel7bxctx@toad.bredbandsbolaget.se>
On Sun, 31 Jan 2010 23:10:45 +0100, Warp <war### [at] tagpovrayorg> wrote:
>
>   If Windows takes the raw Unicode value (as entered by the user) and
> encodes it in UTF-16 before passing it to the application, that would
> mean that the application must understand UTF-16 as its input from (what
> it perceives as) the keyboard.

UTF-16 is the internal system encoding in all NT-based versions of  
Windows. It is also the encoding in which programs receive incoming  
character codes.


>   Which programs actually support that?

I think most Windows programs are capable of handling Unicode these days.  
Those that do not will either ignore non-ASCII characters or display them  
wrong (typically as boxes or question marks).



-- 
FE


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 18:21:33
Message: <4b66107d@news.povray.org>
Fredrik Eriksson <fe79}--at--{yahoo}--dot--{com> wrote:
> On Sun, 31 Jan 2010 23:10:45 +0100, Warp <war### [at] tagpovrayorg> wrote:
> >
> >   If Windows takes the raw Unicode value (as entered by the user) and
> > encodes it in UTF-16 before passing it to the application, that would
> > mean that the application must understand UTF-16 as its input from (what
> > it perceives as) the keyboard.

> UTF-16 is the internal system encoding in all NT-based versions of  
> Windows. It is also the encoding in which programs receive incoming  
> character codes.

  I don't understand how that can work. Do programs convert the UTF-16
encoded characters back to raw Unicode values before using them? (Does
this perhaps happen inside the system call which is used to read the
character?)

  UTF-encoded text (regardless of which UTF encoding scheme is used)
cannot easily be used directly in programs because characters cannot
be easily indexed (because UTF is a variable-length encoding scheme;
in the case of UTF-16 each character is either 2 or 4 bytes long,
depending on the Unicode value.) I have hard time believing that programs
are internally handling the text in UTF-16 format, so I'm assuming that
a decoding to raw Unicode is done first.

> >   Which programs actually support that?

> I think most Windows programs are capable of handling Unicode these days.  

  But how do they handle the characters? Do they ask the system for a
(Unicode) character and get a raw Unicode wide char?

-- 
                                                          - Warp


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Unicode
Date: 31 Jan 2010 18:49:36
Message: <op.u7e8gwys7bxctx@toad.bredbandsbolaget.se>
On Mon, 01 Feb 2010 00:21:33 +0100, Warp <war### [at] tagpovrayorg> wrote:
> Fredrik Eriksson <fe79}--at--{yahoo}--dot--{com> wrote:
>> UTF-16 is the internal system encoding in all NT-based versions of
>> Windows. It is also the encoding in which programs receive incoming
>> character codes.
>
>   I don't understand how that can work. Do programs convert the UTF-16
> encoded characters back to raw Unicode values before using them? (Does
> this perhaps happen inside the system call which is used to read the
> character?)

>> I think most Windows programs are capable of handling Unicode these  
>> days.
>
>   But how do they handle the characters? Do they ask the system for a
> (Unicode) character and get a raw Unicode wide char?

When dealing with just one character at a time, the application receives  
UTF-16 code points and must identify and deal with surrogates if needed.  
For display purposes, one can offload some of the work on the Uniscribe  
API. Mostly though, strings are passed around as a whole (i.e. as lists of  
code points), in which case it "just works"; all standard widgets and  
API-functions fully support supplementary characters.

For an application that does not need to deal with "exotic" alphabets  
(e.g. Chinese), one can typically get away just fine with treating the  
UTF-16 code points as if they were UCS-2.



-- 
FE


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 31 Jan 2010 19:13:34
Message: <4b661cae@news.povray.org>
Fredrik Eriksson <fe79}--at--{yahoo}--dot--{com> wrote:
> When dealing with just one character at a time, the application receives  
> UTF-16 code points and must identify and deal with surrogates if needed.  

  Hmm, I'm not exactly sure what you mean by "UTF-16 code point".

  According to the unicode.org glossary, a "code point" is a value in the
Unicode codespace, ie. a value in the range between 0 and 10FFFF. (Or what
I often refer to as "raw Unicode value".)

  UTF-16 is a translation format between Unicode code points and bytes.
In other words, the raw unicode value is taken and encoded into a series
of bytes (2 or 4 of them, depending on the value) using a certain algorithm
(this encoding algorithm is designed to avoid any code point which has a
value larger than 127 into producing a byte with a value smaller than that).
Decoding from UTF-16 back to a Unicode code point is the reverse operation.

  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.

  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).

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

> For an application that does not need to deal with "exotic" alphabets  
> (e.g. Chinese), one can typically get away just fine with treating the  
> UTF-16 code points as if they were UCS-2.

  OTOH, if a program is Unicode-aware, it should really be prepared to
handle any characters in the entire Unicode codespace.

-- 
                                                          - Warp


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Unicode
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

From: TC
Subject: Re: Unicode
Date: 31 Jan 2010 21:10:32
Message: <4b663818$1@news.povray.org>
Hope the following helps:

Internally .net stores characters as unicode (UTF16). There is an "encoding" 
class that helps you to deal with encodings. Windows .net API provides you 
with the option to use many different character encodings.

Here some excerpts from the MS online help:

Dim fileReader As String
fileReader = My.Computer.FileSystem.ReadAllText("C:\test.txt", 
System.Text.Encoding.UTF32)
MsgBox(fileReader)

Writing goes something like this:

My.Computer.FileSystem.WriteAllText(file ,text ,append ,encoding)

There are a lot of different encodings supported by .net:

      ASCIIEncoding
     Represents an ASCII character encoding of Unicode characters.

      UnicodeEncoding
     Represents a UTF-16 encoding of Unicode characters.

      UTF32Encoding
     Represents a UTF-32 encoding of Unicode characters.

      UTF7Encoding
     Represents a UTF-7 encoding of Unicode characters.

      UTF8Encoding
     Represents a UTF-8 encoding of Unicode characters.



Chr uses the Encoding class in the System.Text namespace to determine if the 
current thread is using a single-byte character set (SBCS) or a double-byte 
character set (DBCS). It then takes CharCode as a code point in the 
appropriate set. The range can be 0 through 255 for SBCS characters 
and -32768 through 65535 for DBCS characters.

The returned value depends on the code page for the current thread, which is 
contained in the ANSICodePage property of the TextInfo class in the 
System.Globalization namespace. You can obtain ANSICodePage by specifying 
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ANSICodePage.

ChrW takes CharCode as a Unicode code point. The range is independent of the 
culture and code page settings for the current thread. Values from -32768 
through -1 are treated the same as values in the range +32768 through 
+65535.

Numbers from 0 through 31 are the same as standard nonprintable ASCII codes. 
For example, Chr(10) returns a line feed character.


Post a reply to this message

From: scott
Subject: Re: Unicode
Date: 1 Feb 2010 02:38:03
Message: <4b6684db$1@news.povray.org>
> OK, so here's a question: How do you actually type in Unicode characters 
> that aren't on your keyboard?

Hold down left alt and press some numbers on the keypad.  THe only one I can 
remember is the one for the plus/minus symbol (Alt+0177) as I use it a lot 
and it's not on my keyboard.

> It's nice that Unicode exists, and a tiny fraction of software in 
> existence even supports it,

Funny I found that most software does support it, otherwise I would be 
continually screwed in my job not being able to open documents or understand 
email from Japanese people.  Here (Vista Business 64bit) I can even create a 
file/folder in explorer with Japanese characters, then zip it with WinZip 
and everything works fine.

> and approximately 3 fonts in the world have the appropriate glyphs in 
> them.

I know when I get Japanese documents, they normally use a special font like 
"MS Mincho", I suspect it would be a bit of a wasted effort to make every 
font contain every single unicode character.  There also seems to be fonts 
like "Arial Unicode MS" that maybe contain all (most?) of them (it at least 
contains all the Japanese characters).


Post a reply to this message

From: Tim Attwood
Subject: Re: Unicode
Date: 1 Feb 2010 07:02:01
Message: <4b66c2b9$1@news.povray.org>
In Word you can use some keyboard shortcuts...

(ctrl ~)n
(ctrl :)u
(ctrl ^)a

they follow that pattern, so it shouldn't be too
hard to remember, but it's a three key press,
ctrl, shift, whatever.


Post a reply to this message

From: scott
Subject: Re: Unicode
Date: 1 Feb 2010 07:35:18
Message: <4b66ca86$1@news.povray.org>
> In Word you can use some keyboard shortcuts...
>
> (ctrl ~)n
> (ctrl :)u
> (ctrl ^)a

On my German keyboard pressing ^ by itself does that, annoying if you're 
trying to type "^error" or something (often in C++ .net) because it comes 
out as êrror.  Seems like they thought the only possible use of ^ would be 
to go above other letters.


Post a reply to this message

From: TC
Subject: Re: Unicode
Date: 1 Feb 2010 07:50:03
Message: <4b66cdfb@news.povray.org>
Hitting the "^" followed by "SPACE" will give you "^" - but you probably 
knew that.

I think this is exactly as it should be - "^" is a kind of decoration (that 
indicates pronunciation) like "´" and "`" which work exactly the same way, 
giving an "é" when pressing "´" followed by "e" and so on. If you want the 
"^" alone you just decorate an empty space.

"scott" <sco### [at] scottcom> schrieb im Newsbeitrag 
news:4b66ca86$1@news.povray.org...
>> In Word you can use some keyboard shortcuts...
>>
>> (ctrl ~)n
>> (ctrl :)u
>> (ctrl ^)a
>
> On my German keyboard pressing ^ by itself does that, annoying if you're 
> trying to type "^error" or something (often in C++ .net) because it comes 
> out as êrror.  Seems like they thought the only possible use of ^ would be 
> to go above other letters.


Post a reply to this message

From: scott
Subject: Re: Unicode
Date: 1 Feb 2010 07:52:52
Message: <4b66cea4$1@news.povray.org>
> I think this is exactly as it should be - "^" is a kind of decoration 
> (that indicates pronunciation) like "´" and "`" which work exactly the 
> same way,

I guess I'm in the minority then, by only using ^ for the power operator and 
as the reference thingy in .net.


Post a reply to this message

From: Invisible
Subject: Re: Unicode
Date: 1 Feb 2010 07:58:49
Message: <4b66d009$1@news.povray.org>
scott wrote:

> I guess I'm in the minority then, by only using ^ for the power operator 

Shouldn't that technically be "↑"? It's just that the original ASCII 
standard included "^" (why?) but not "↑". Or that's how I heard it. In 
books it's usually written as a superscript or as "↑", but never, ever 
as "^" except in programming languages...

> and as the reference thingy in .net.

...which use it because of the historic ASCII standard.


Post a reply to this message

From: Warp
Subject: Re: Unicode
Date: 1 Feb 2010 10:22:01
Message: <4b66f199@news.povray.org>
TC <do-not-reply@i-do get-enough-spam-already-2498.com> wrote:
> appropriate set. The range can be 0 through 255 for SBCS characters 
> and -32768 through 65535 for DBCS characters.

  Does that mean it skips some characters?

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Unicode
Date: 1 Feb 2010 12:02:49
Message: <4b670939@news.povray.org>
Invisible wrote:
> It's just that the original ASCII standard included "^" (why?)

It's also a caret. If it got replaced, I imagine it got replaced the same 
time left-arrow got replaced by underline.

-- 
Darren New, San Diego CA, USA (PST)
   Forget "focus follows mouse." When do
   I get "focus follows gaze"?


Post a reply to this message

From: TC
Subject: Re: Unicode
Date: 1 Feb 2010 12:37:23
Message: <4b671153@news.povray.org>
>> appropriate set. The range can be 0 through 255 for SBCS characters
>> and -32768 through 65535 for DBCS characters.
>
>  Does that mean it skips some characters?

I was using this stuff a year ago to be able to produce properly encoded 
files for Google Maps. Worked for me, so case closed.

I did not try and so I don't know for sure. I would guess negative numbers 
map to 32767+. Maybe this is an error in Microsoft's documentation. It 
seemed strange to me, too, but I did not use negative numbers, so why 
bother?

MS is somewhat notorious for misleading and faulty docs. I remember somebody 
saying that the docs for MS WinWord were less a manual but more a work of 
fiction. ;-)


Post a reply to this message

From: TC
Subject: Re: Unicode
Date: 1 Feb 2010 21:39:01
Message: <4b679045$1@news.povray.org>
> Shouldn't that technically be "?"? It's just that the original ASCII 
> standard included "^" (why?) but not "?". Or that's how I heard it. In 
> books it's usually written as a superscript or as "?", but never, ever as 
> "^" except in programming languages...

My VIC 20 had the ? - which was very useful when programming any game with 
ASCII graphics. It made a nice missile. ;-)


Post a reply to this message

From: Invisible
Subject: Re: Unicode
Date: 2 Feb 2010 04:36:28
Message: <4b67f21c$1@news.povray.org>
TC wrote:
>> Shouldn't that technically be "?"? It's just that the original ASCII 
>> standard included "^" (why?) but not "?". Or that's how I heard it. In 
>> books it's usually written as a superscript or as "?", but never, ever as 
>> "^" except in programming languages...
> 
> My VIC 20 had the ? - which was very useful when programming any game with 
> ASCII graphics. It made a nice missile. ;-) 

...so I'm guessing there was some kind of encoding error with this post. 
But I get what you're saying anyway. ;-)

I seem to recall that several 8-bit home computers had codes 128-255 
identical to codes 0-127, but with the colours inverted.


Post a reply to this message

From: TC
Subject: Re: Unicode
Date: 2 Feb 2010 12:44:42
Message: <4b68648a$1@news.povray.org>
"Invisible" <voi### [at] devnull> schrieb im Newsbeitrag 
news:4b67f21c$1@news.povray.org...
> TC wrote:
>>> Shouldn't that technically be "?"? It's just that the original ASCII 
>>> standard included "^" (why?) but not "?". Or that's how I heard it. In 
>>> books it's usually written as a superscript or as "?", but never, ever 
>>> as "^" except in programming languages...
>>
>> My VIC 20 had the ? - which was very useful when programming any game 
>> with ASCII graphics. It made a nice missile. ;-)
>
> ...so I'm guessing there was some kind of encoding error with this post. 
> But I get what you're saying anyway. ;-)

This shows us the joys of different encodings. ;-)

In my websites I changed all "?" to "EUR", so my customers can easily use 
the contents in different portals without having to worry about encoding. 
Copying UTF-encoded symbols and pasting the contents into a CMS is like 
playing with a wheel-of-fortune... you can never say what you will get.


Post a reply to this message

From: Darren New
Subject: Re: Unicode
Date: 2 Feb 2010 13:31:40
Message: <4b686f8c$1@news.povray.org>
TC wrote:
> Copying UTF-encoded symbols 

That's why all those technologies have entity escapes.


-- 
Darren New, San Diego CA, USA (PST)
   Forget "focus follows mouse." When do
   I get "focus follows gaze"?


Post a reply to this message

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