delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/01/09:16:18

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Character differences
Date: Thu, 01 Jun 2000 13:01:24 GMT
Organization: always disorganized
Lines: 22
Message-ID: <39365e94.4468216@news.freeserve.net>
References: <200006011204 DOT OAA09202 AT father DOT ludd DOT luth DOT se>
NNTP-Posting-Host: modem-226.cuban-hogfish.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 959864485 625 62.136.214.226 (1 Jun 2000 13:01:25 GMT)
NNTP-Posting-Date: 1 Jun 2000 13:01:25 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg wrote:

>In emacs in Linux if I insert an "ö" (octal 366) and look at the file
>in NOTEPAD in WINDOZE I see an "ö".  But if I use emacs in WINDOZE I
>see another character (something I'd call a divide symbol) similar to
>a ":" with the dots sperated by a "-".

Octal 366 (hex F6) is a lowercase o with diaeresis in Latin-1 (and
therefore also in Unicode).  One of the commonest character sets
used in Windows is essentially the same as Latin-1 (but with a few
extra characters).  But MS-DOS uses IBM character sets, which are
largely different above 7F hex.  In particular, the division sign
is at F6 in many IBM character sets, whereas it's at F7 in Latin-1.

On a related note, the fourth letter of your surname reaches me as
7C hex, which is a vertical bar in Latin-1.  Since the header of
your message explicitly specifies Latin-1, I think you must have
your newsreader set up incorrectly.

One day everything will use Unicode and these problems will disappear.

S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019