Re: Problem with Win32/UNIX character set
On Mon, Nov 11, 2002 at 05:50:07PM +0100, Jan Middelkoop wrote: >And I did realize that I actually have to send my e-mail to the list, http://cygwin.com/bugs.html cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with Win32/UNIX character set
No, I first got a UNIX charset (always). Now I 'export CYGWIN=codepage:oem' I get the right charset when I start the program from CygWin, but not when I compile it as a Win32 executable and run it. And I did realize that I actually have to send my e-mail to the list, but since I got no replies besides your one (and my question obviously is a bit noob'ish) I figured I'd just send it you only. Thanks a lot for all your great help, and continue support to CygWin, it's a great 'piece' of a software. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Add: Problem with Win32/UNIX character set (fwd)
I'm forwarding this to the list as well. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Forwarded message -- Date: Mon, 11 Nov 2002 07:30:20 +0100 (CET) From: Jan Middelkoop <[EMAIL PROTECTED]> To: Igor Pechtchanski <[EMAIL PROTECTED]> Subject: Add: Problem with Win32/UNIX character set Forgot to mention, it DOES use the right charset when I run it from CygWin, just not as a standalone executable. Regards, Jan Middelkoop <[EMAIL PROTECTED]> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with Win32/UNIX character set
On Mon, 11 Nov 2002, Jan Middelkoop wrote: > On Sun, 10 Nov 2002, Igor Pechtchanski wrote: > > > On Sat, 9 Nov 2002, Jan Middelkoop wrote: > > > > > Hello. > > > > > > I seem to be able to compile and run a problem fine, but when I run it, I > > > notice it uses a UNIX character set instead of the DOS character set (I do > > > NOT mean the endline characters - I mean the character set in general), > > > so certain things (ASCII art mainly) look very messed up. > > > > > > How do I get this program to use the DOS character set? > > > Is there an option for this in CygWin, do I have to #define something? > > > > > > Thanks in advance, > > > DJHyperbyte > > > > Yes. Add "codepage:oem" to your CYGWIN environment variable. > > Igor > > > > P.S. David (Starks-Browning), should this be in the FAQ? > > FWIW, I haven't found anything related to codepage:* in the User's Guide > > page on the CYGWIN variable, either. > > Hi again, thanks for your reply :) > > I sent this message to you only (not to the whole mailing list), because > this is more of a RTFM question (where I didn't find it btw). > > I did: > > export CYGWIN=codepage:oem > ./configure --with-the-options-I-need > make > > But, it still uses the wrong charset (DOS). > What am I doing wrong? > > Thanks in advance. Jan, Please keep replies on the list. Especially for things that are not in the manual, as the next place people are going to look is the list archives. Also, you can generally expect better replies from other people on this list. IIRC, you should set "codepage:oem" or "codepage:ansi" *before* starting bash. You might also need to set the font to something that has a correct charset (Lucida Console was recommended at some point). Another thing to try is to run this in rxvt instead of the command window. This really *should* be in the FAQ and the User's Guide. I'm not going to submit patches just now as there is a new option pending (codepage:none), and I'd like to wait until that's in... CGF, any news on that? However, I'm confused now. Which character set *do* you want? Unless I'm mistaken, "codepage:oem" is for the DOS character set, and "codepage:ansi" (the default) is for the Unix one... First you said that you needed the DOS charset but were getting Unix, now you say that you're getting the DOS one and it's wrong... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with Win32/UNIX character set
> Yes. Add "codepage:oem" to your CYGWIN environment variable. > P.S. David (Starks-Browning), should this be in the FAQ? > FWIW, I haven't found anything related to codepage:* in the User's Guide > page on the CYGWIN variable, either. Can someone explain the "codepage" settings so I can give an accurate explanation in the UG? I don't think I've ever seen an overall explanation of possible values with the advantages and drawbacks of each. (I'm assuming there are drawbacks to codepage:oem or else it would just be turned on.) By the way, we've had several questions about non-us character sets in Cygwin--is this related? I could also add something about that (I think there is already something about the .inputrc settings.) __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with Win32/UNIX character set
On Sat, 9 Nov 2002, Jan Middelkoop wrote: > Hello. > > I seem to be able to compile and run a problem fine, but when I run it, I > notice it uses a UNIX character set instead of the DOS character set (I do > NOT mean the endline characters - I mean the character set in general), > so certain things (ASCII art mainly) look very messed up. > > How do I get this program to use the DOS character set? > Is there an option for this in CygWin, do I have to #define something? > > Thanks in advance, > DJHyperbyte Yes. Add "codepage:oem" to your CYGWIN environment variable. Igor P.S. David (Starks-Browning), should this be in the FAQ? FWIW, I haven't found anything related to codepage:* in the User's Guide page on the CYGWIN variable, either. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with Win32/UNIX character set
Hello. I seem to be able to compile and run a problem fine, but when I run it, I notice it uses a UNIX character set instead of the DOS character set (I do NOT mean the endline characters - I mean the character set in general), so certain things (ASCII art mainly) look very messed up. How do I get this program to use the DOS character set? Is there an option for this in CygWin, do I have to #define something? Thanks in advance, DJHyperbyte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/