Re: Registry Destruction in progress...
- From: Claus Dragon <claus@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 22:26:17 +0200
Words to the wise, Ashikaga <citizenashi@xxxxxxxxx> wrote:
Code is written in plain ASCII, period.
I suspect they coded it in Chinese in some eternal modules.... Do you know
when you switch to Chinese or Japanese language (don't know if it applies
to others), the Roman alphabets you type do not look the same nor they have
the same location under character table? They put some their own scripts
in the first 256 locations, which I am guessing..., saves memory allocation
(since they each of those characters uses only one byte, extention to the
first 256 ASCII characters are amended through advanced OS and may use more
than one byte). So the location where we put the letter "A" (I think it's
U0041 when I find it under XP's character table, using Arial as the font
table) may not be "A" when you type it using Asian font.
A unicode number is supposed to be a unicode character, that means, it
should not matter at all. Like, if you have a text saying err, \u0169,
it should display the copyright symbol, independent of whatever
language you are using.
For instance, in Java, you surely can write Strings and comments and
variable names in chinese characters, but the language words still
have to be coded in what boils down to ASCII, for the code of:
Pattern prompt_pattern1 = Pattern.compile("<td
headers=\"aa\">USD</td>");
Matcher prompt_matcher1 = prompt_pattern1.matcher(line);
if (prompt_matcher1.find())
{
found++;
}
is only valid if there is Pattern.compile() in there, and not
ÖÄÜ`??.???()
I know that for perl, you can use a certain module which enables you
to use latin words for all the language parts of Perl. but that is a
joke more than useful.
It means if foreign programmers used non-western European font set when
they code (which is not the default font with those OS), they may look like
Roman alphabets, but computer won't register them as the same thing (unless
the programmer remember to switch to Arial or such western-European
character sets).
You dont have font sets when programming. You type letters which are
translated into one character or another and are stored either as
ASCII, UTF-8, UTF-16 or as hexadecimal format (did I miss anything?).
--
Claus Dragon <clauskick@xxxxxxxxxxxxxxx>
=(UDIC)=
d++ e++ T--
K1!2!3!456!7!S a26
"Coffee is a mocker. So, I am going to mock."
- Me, lately.
.
- Follow-Ups:
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- References:
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- From: Claus Dragon
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- From: Claus Dragon
- Re: Registry Destruction in progress...
- From: Ashikaga
- Re: Registry Destruction in progress...
- Prev by Date: Re: Registry Destruction in progress...
- Next by Date: Re: I noticed FIOS has almost reached my house.
- Previous by thread: Re: Registry Destruction in progress...
- Next by thread: Re: Registry Destruction in progress...
- Index(es):
Relevant Pages
|