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 From: "Hannu E K Nevalainen" To: "ML CygWIN" Subject: RE: german characters Date: Thu, 1 Apr 2004 20:54:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit In-Reply-To: <000501c417db$a124d9c0$4268a0a0@amatec.local> note: "german characters" -> "international characters" > From: Markus R. > I have read many articles in the newsgroup and studied the FAQ on the > cygwin homepage to enable german characters in the bash. But I didn't > find a solution. I hope you realize that as this is a bash specific Q it really is off topic here ;-) > I have a fresh cygwin install on my system. I have created a '.inputrc' > in my home directory with the following entries: > > set meta-flag on > set convert-meta off > set output-meta on > > > the file permissions are read, write and execute for everybody (only > for test purpose). Now when I open my bash I get '\366' for an 'ö' > and '\344' for an 'ä' and so on. When I type 'cat' then I can enter > german character 'ö' 'ä' and so on. I assume you mean this happens when you run "ls", isn't that so? Make sure you pass the --show-control-chars switch to ls and you'll end up seeing the special characters just fine. eg: Include the following in ~/.profile, ~/.bashrc or some such file. ls () { command ls --show-control-chars --color --classify --no-group -k $@ } read more: $ man bash /^functions (i.e. read bash manpage, search for a line containing 'functions' as the first word) > When I delete the .inputrc file then I can't see nothing when I type > a german character like 'ö','ä' and so on. This seems for me that the > .inputrc file is read by a bash execute. $ man readline This goes for all software that actually uses this library; e.g. emacs doesn't, and has to be tweaked in another way. [put things in ~/.emacs] I'm not an emacs user. > Any ideas?? It's really confusing Do expect to get more confused... ;-) I and others have posted on this subject earlier, have a go and do some googling. I'm quite sure you will find some stuff to investigate. /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E ** on a mailing list; please keep replies on that particular list ** -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- 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/