X-Spam-Check-By: sourceware.org Message-ID: <44B8495E.8040501@s1999.tu-chemnitz.de> Date: Sat, 15 Jul 2006 03:48:14 +0200 From: Alexander Gottwald User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Bengt-Arne Fjellner Subject: Re: problems with run References: <2183 DOT 130 DOT 240 DOT 136 DOT 130 DOT 1152892603 DOT squirrel AT pinus DOT tt DOT luth DOT se> <44B7E207 DOT 4050002 AT s1999 DOT tu-chemnitz DOT de> <1150 DOT 130 DOT 240 DOT 136 DOT 130 DOT 1152905806 DOT squirrel AT pinus DOT tt DOT luth DOT se> In-Reply-To: <1150.130.240.136.130.1152905806.squirrel@pinus.tt.luth.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.4 (-) X-Spam-Report: --- Start der SpamAssassin 3.1.2 Textanalyse (-1.4 Punkte) Fragen an/questions to: Postmaster TU Chemnitz -1.4 ALL_TRUSTED Nachricht wurde nur ueber vertrauenswuerdige Rechner weitergeleitet --- Ende der SpamAssassin Textanalyse X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Bengt-Arne Fjellner wrote: Taking this back to the list. I missed to adjust the To: field. > Alexander Gottwald skrev: >> Bengt-Arne Fjellner wrote: >>> Upgrade from run-1.1.6-1 to run-1.1.10-1 gives me problems. >>> Variables that have national chars gets wrong codepage >>> I have narrowed it down so that 1.1.6 works but not 1.1.7 >> The change from 1.1.6 to 1.1.7 was to copy the cygwin environment >> variables back to windows. Are the string encoded differently in cygwin >> than in win32? > > I think so they are even differently encoded in windows/dos > > if i do echo едц>file (three swedish chars) in a dos box resp in an xterm > i get different results in the file > cmd gives me the string (bash format) > $'\206\204\224' > > in cygwin it gives > $'\345\344\366' > > Windows is fun isnt it :-) > Win32api has > CharToOem and CharToOemBuff, OemToChar, OemToCharBuff > to deal with this but im never sure which one to use.... Hm, I'll take a look. German letters should trigger that too. bye ago -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/