delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/03/01:39:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAD31248BE809F4A869854C597A558EE62750558@TROUX-EX01.hq.troux.com>
References: <2BF01EB27B56CC478AD6E5A0A28931F202190F42 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <CAD31248BE809F4A869854C597A558EE62750558 AT TROUX-EX01 DOT hq DOT troux DOT com>
Date: Thu, 3 Mar 2011 06:38:49 +0000
Message-ID: <AANLkTikny3b0LSJR0NM6NewjDUyO6DnWB100cgthOOzn@mail.gmail.com>
Subject: Re: entering special symbols in mintty
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 2 March 2011 20:27, Jim Garrison wrote:
> Mintty seems to be interpreting Alt+nnnn codes in OCTAL instead of decima=
l, based on the Unicode code point and not the Windows Alt+nnnn codes. =C2=
=A0For example, Windows' Character Map applet shows the "Euro" symbol as Un=
icode character U+20AC and Alt+0128. =C2=A0Entering Alt+0128 in mintty has =
no discernible effect, but if you convert hex 20AC to octal and enter that =
(with a leading zero to indicate that it's octal, Alt+020254) you DO get a =
Euro symbol.
>
> It also appears that without the leading zero the number is interpreted a=
s decimal, again selecting the Unicode code-point.

Correct, and as documented in the manual:

http://mintty.googlecode.com/svn/tags/0.9.6/docs/mintty.1.html#19

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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