Article View: news.software.readers
Article #147930Re: [slrn] Compile - using Cygwin - for Windows
From: Alejandro López-Valencia
Date: Mon, 10 May 2004 01:32
Date: Mon, 10 May 2004 01:32
62 lines
4165 bytes
4165 bytes
On 2004-05-09, Lars Stokholm wrote in <2004.04.09.20.53.33$n.s.r@stokholm.dyndns.dk>: > * Alejandro López-Valencia wrote: >> Ahh! Of course! DOS and Windows use different character sets. >> When you type chcp in a system console you'll notice it says >> 'cp850' (using a Western Europe language and assuming you are >> using a recent Windows NT system :-), this is different to the >> character set used by Windows itself, that's cp1252. > > Which charater set does aspell use, since it doesn't work, even > if I create and save the file with 'edit'? Shouldn't that all > be 'cp850' (both edit and aspell)? If so, what's the problem? > As I noted, aspell shows the text correctly, but messes it up > when it's saved. aspell uses ISO-8859-1 by default. That's the source of your troubles. > >> There are enough differences among the two charsets to have >> data corruption in the high ASCII range. > > I just love all this character set stuff - love it! ;) Tell me about it. Here are a couple of websites so you can have a heart attack ;-) #v+ http://www.kostis.net/charsets/ http://www.i18nguy.com/unicode/codepages.html #v- > >> Now, if you use a different console program (say the rxvt that >> comes with MSYS), you'll have better luck. > > Mm-yeah, I don't know, I kinda like just executing 'slrn.exe', > and then I'm ready to rock. :) > >> You want to read chapter 7 in the manual. > > Doesn't that tell me how to create a completely new language? > Is that really what I want? Yes and no. I just had a quick look and thought it woud be explained better further on, but it seems I was wrong. In the first section it says that aspell only works with ISO-8859-x, KOI-x and VISCII charsets. Thus, cp850 won't work :-(. You could get away if using an editor that is not DOS based, but rather a Win32 console application. In that case it would use cp1252 by default. I suggest using a Win32 console editor instead of edit. I know for sure that the win32 console version of vim will write files in cp1252/ISO-8859-1 encoding. But as vim is an acquired taste and emacs not only is big but has a tendency to misbehave with anything different to ASCII (MULE and LEIM are far from perfect), I'd suggest you try out something like nano (http://www.nano.org/) or JED (http://www.jedsoft.com or http://www.s-lang.org/). -- Alejandro López-Valencia qenqhy ng rgo qbg arg qbg pb http://dradul.tripod.com/ u'\u864e\u306e\u795e\u6bbf\r\n'
Technical Details
Message-ID:
<2g84cvF5cmn5U1@uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@uni-berlin.de> <slrnc9qf3i.1h0.lars@stokholm.dyndns.dk> <slrnc9qg3g.1ao.lars@stokholm.dyndns.dk> <slrnc9qjfk.tk.lars@stokholm.dyndns.dk> <2g58udF4j94lU3@uni-berlin.de> <2004.04.09.09.19.31_n.s.r@stokholm.dyndns.dk> <2g6k5cF4u4kgU1@uni-berlin.de> <2004.04.09.13.24.35$n.s.r@stokholm.dyndns.dk> <2g717nF50tq1U1@uni-berlin.de> <2004.04.09.16.28.51$n.s.r@stokholm.dyndns.dk> <2g77hjF52m6hU1@uni-berlin.de> <2004.04.09.20.53.33$n.s.r@stokholm.dyndns.dk>Show Full Headers
Complete Article Headers
Message-ID: <2g84cvF5cmn5U1@uni-berlin.de> Subject: Re: [slrn] Compile - using Cygwin - for Windows Date: Mon, 10 May 2004 01:32:16 +0000 From: Alejandro López-Valencia <vorbote@address-in-my-sig.invalid> References: <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@uni-berlin.de> <slrnc9qf3i.1h0.lars@stokholm.dyndns.dk> <slrnc9qg3g.1ao.lars@stokholm.dyndns.dk> <slrnc9qjfk.tk.lars@stokholm.dyndns.dk> <2g58udF4j94lU3@uni-berlin.de> <2004.04.09.09.19.31_n.s.r@stokholm.dyndns.dk> <2g6k5cF4u4kgU1@uni-berlin.de> <2004.04.09.13.24.35$n.s.r@stokholm.dyndns.dk> <2g717nF50tq1U1@uni-berlin.de> <2004.04.09.16.28.51$n.s.r@stokholm.dyndns.dk> <2g77hjF52m6hU1@uni-berlin.de> <2004.04.09.20.53.33$n.s.r@stokholm.dyndns.dk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!fu-berlin.de!uni-berlin.de!not-for-mail Newsgroups: news.software.readers Organization: Individual.NET, usenet for the rest of us. Lines: 62 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: http://news.individual.net/abuse.html X-Trace: news.uni-berlin.de y2y/ZFkqOwRQobAUGo5OdgRF5+XIlF3i4H3zwOt6yrcJNUOr4= Mail-Copies-To: nobody User-Agent: slrn/0.9.8.0-jwk4 (CYGWIN_NT-5.0)