Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Frank Heckenbach
Subject: compiling-update
Date: 26 Jan 2005, 17:35:06
jan.ruzicka@comcast.net wrote: > On Jan 25, 2005, at 11:56, Frank Heckenbach wrote: > > > > > I guess we can take out one pair of quotes. Shouldn't really be a > > problem (just paranoia). Apparently that shell doesn't like nested > > quotes. > > > > if gcc dummy.c > /dev/null 2>&1 && [ -r "$A_OUT" ] && [ x"`./$A_OUT 2> > > /dev/null`" = x"Ä" ]; then > > > Is there any way to have the non ASCII character escaped? > I don't think the shell script necessary needs to reproduce non ascii > characters correctly. > Possibilities are compare result of hexdump or > generate the output in a different way and use cmp. > > What character should it be anyway? > I see it as a capital letter A with umlaut. Yes, that's what it should be. > Saved in a file it is 8000 hex. That's strange. I know of no such charset. In Latin[129] (and perhaps some more) as well as Unicode it's hex C4. The output also contains a newline which is 0A (or 0D, or 0D, 0A on some systems). Nothing remotely similar to 8000!? Adriaan van Os wrote: > The Macintosh has another character set for values > 127. The A-umlaut > is auto-converted when you copy and paste it from email, but in the > original script it looks like "ƒ" on the Mac. Does Linux/Unix have the > same character set as WIndows (or the other way round) ? Both Linux and Windows can use different charsets. Most systems, at least in Europe and America, probably use either Unicode or Latin1/Latin2/Latin9 AKA ISO 8859-1/-2/-15 (Linux) or a bastardization of it (Windows -- AFAIUI, they call it windows-1252, but sometimes wrongly declare it to be Latin1, e.g. in mail headers; the typical symptoms are wrong Euro signs, dashes and (non-ASCII) quotes, most other characters, including umlauts, seem to be the same). Frank
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).