delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/17/09:17:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Non-US keyboard (PT) bash problem
Date: Fri, 17 Dec 2004 14:15:51 -0000
Message-ID: <9D3B864C501E024B86A5ABF53972A66A0C0007@COMTVLEX02.ptcom.corppt.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Lino Miguel Martins Tinoco" <lino-m-tinoco AT telecom DOT pt>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 17 Dec 2004 14:15:51.0285 (UTC) FILETIME=[E9B08250:01C4E442]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iBHEHFWX025973

The --show-control-chars flag worked fine and I've created a new alias for ls. The set solution doesn´t work, I've already tried it before.

Also tried to export this variables (have them on my ~/.profile):

LANG=pt_PT AT euro
LC_ALL=pt_PT AT euro
LANGUAGE=pt_PT AT euro
LC_TYPE=pt_PT AT euro
LC_CTYPE=pt_PT AT euro
OUTPUT_CHARSET=pt_PT AT euro
export LANG LC_ALL LANGUAGE LC_TYPE LC_CTYPE OUTPUT_CHARSET


pt_PT AT euro is defined in /usr/share/locale/locale.alias as:

portuguese      pt_PT.ISO-8859-1
pt_PT           pt_PT.ISO-8859-1
pt_PT AT euro      pt_PT.ISO-8859-15
pt_PT AT EURO      pt_PT.ISO-8859-15


And in /usr/X11R6/lib/X11/locale/locale.alias I have:

pt                                              pt_PT.ISO8859-1
pt_PT                                           pt_PT.ISO8859-1
pt_PT.88591                                     pt_PT.ISO8859-1
pt_PT.88591.en                                  pt_PT.ISO8859-1
pt_PT.iso88591                                  pt_PT.ISO8859-1
pt_PT.ISO-8859-1                                pt_PT.ISO8859-1
pt_PT.ISO_8859-1                                pt_PT.ISO8859-1
pt_PT.iso885915                                 pt_PT.ISO8859-15
pt_PT.iso-885915                                pt_PT.ISO8859-15
pt_PT.ISO-8859-15                               pt_PT.ISO8859-15
pt_PT.ISO8859-15                                pt_PT.ISO8859-15
pt_PT AT euro                                      pt_PT.ISO8859-15
pt_PT AT EURO                                      pt_PT.ISO8859-15
pt_PT.utfO                                      pt_PT.UTF-8
pt_PT DOT UTF-8 AT euro                                pt_PT.UTF-8


On /usr/X11R6/lib/X11/locale/locale.dir I also have these 2 lines:

iso8859-1/XLC_LOCALE:                   pt_PT.ISO8859-1
iso8859-15/XLC_LOCALE:                  pt_PT.ISO8859-15


Still those special characters get displayed as an octal value. This is na exaple of what I'm saying:

XPTP165 AT pc701523 ~/My Documents# cd Programa\347\343o/
XPTP165 AT pc701523 ~/My Documents/Programação# 


Thanks,

--Tinoco

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019