Date: Mon, 19 Aug 2002 10:49:29 +0200 From: Jimmy Lantz <jimmy.lantz@lusidor.com> To: freebsd-questions@FreeBSD.ORG Subject: Ascii or Special Char problem on FreeBSD 4.6 Message-ID: <5.1.0.14.0.20020819103449.02a97f40@mail.lusidor.nu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020819103449.02a97f40>