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 <alexander.gottwald@s1999.tu-chemnitz.de>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: Bengt-Arne Fjellner <Bengt-Arne.Fjellner@ltu.se>
Subject: Re: problems with run
References: <2183.130.240.136.130.1152892603.squirrel@pinus.tt.luth.se>    <44B7E207.4050002@s1999.tu-chemnitz.de> <1150.130.240.136.130.1152905806.squirrel@pinus.tt.luth.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 <postmaster@tu-chemnitz.de> 	-1.4 ALL_TRUSTED            Nachricht wurde nur ueber vertrauenswuerdige Rechner 	weitergeleitet 	--- Ende der SpamAssassin Textanalyse
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

