From owner-freebsd-questions Mon Aug 19 1:48: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC17E37B400 for ; Mon, 19 Aug 2002 01:48:02 -0700 (PDT) Received: from bouba.alxhost.com (bouba.alxhost.com [66.96.220.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6940143E6E for ; Mon, 19 Aug 2002 01:48:02 -0700 (PDT) (envelope-from jimmy.lantz@lusidor.com) Received: from [212.162.175.101] (helo=lusidor2002.lusidor.com) by bouba.alxhost.com with asmtp (Exim 3.35 #1) id 17giCW-0004iz-00 for freebsd-questions@FreeBSD.ORG; Mon, 19 Aug 2002 04:47:52 -0400 Message-Id: <5.1.0.14.0.20020819103449.02a97f40@mail.lusidor.nu> X-Sender: lusidor@mail.lusidor.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 19 Aug 2002 10:49:29 +0200 To: freebsd-questions@FreeBSD.ORG From: Jimmy Lantz Subject: Ascii or Special Char problem on FreeBSD 4.6 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bouba.alxhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - lusidor.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, A question about filesystem and specialchars: I have problems with certain files, which contains special chars, converted= =20 in my shell to questionmarks, appear to be ascii chars. For instance: a file called "un=8Ctitled ", appears in the shell as=20 un?titled? but when I use "less" i get un^=CCtitled^\ -rw-r----- 1 ftp nobody 42 19 Aug 02:20 un?titled? frodo# less un^=CCtitled^\ Looking in the Ascii table gives 140 =8C 8C Œ %8C %8C 204 =CC CC Ì %CC %CC ---- ---- How does FreeBSD get from =8C to ^=CC ? I'm creating a script so I need to know what conversion table is used by=20 FreeBSD, so that I can access the file from my script without having to execute a command "less" or worse if the specialchar was= =20 placed initially, I dont have a clue what the file is called. I have my locale set to MM_CHARSET=3DISO-8859-1 LANG=3Dsv_SE.ISO_8859-1 I'm greatful for any input on this subject. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message