How to enter high-bit characters in UTF-8 with tcsh?

How to enter high-bit characters in UTF-8 with tcsh?

Post by Matt Wats » Wed, 20 Feb 2002 07:23:25



How do I enter Espa?a in tcsh using UTF-8 encoding? I think this
should be the hex bytes:

45 73 70 61 c3 b1 61

But this also could be:

45 73 70 61 6e cc 83 61

I've tried entering ^V meta-L ^V meta-1, for c3 b1, but that doesn't
work. Is the locale support interpreting this somehow?

bash has the same issue for me, but gives me an (arg: 1) prompt when I
try to enter the high-bit char. zsh seems to work fine.

 
 
 

1. High-bit characters in file names

When transferring files via NFS from my Mac, I sometimes end up with
high-bit characters (> 128) in the file name.  This presents a big problem
to the shell, which doesn't allow the entry nor the display of high-bit
characters.  Thus I can't enter the proper characters to delete the file,
and I can't rename it.  Using "ls" will show a file name, but this file
name is false, in that it doesn't show the real characters.  rm -r doesn't
work either, since it apparently tries to resolve the file name using
shell- type mechanisms, which also fail.

So, is there a way I can read the "true" name of the file directly from the
inode, or something like that?  At least if I have the true file name, I
can write a perl script to delete it.

Any other ideas would be welcome.

-David.

2. curses clear

3. Can't change the character set from UTF-8 to iso-8859-1

4. Compaq Proliant 1600 with RAID and RH 5.1

5. ibm2asc Filter 8-bit Scandinavian characters to 7-bit characters

6. Linux/dial-up-PPP to route multple IP addresses - possible?

7. Cannot enter {} characters in X (but can enter in console)

8. Matching kernel & mount/umount versions

9. ?tcsh and 8-bit characters

10. How to get tcsh print 8 bit characters

11. mac2lat1 Convert 8-bit quoted printable characters to 8-bit latin1

12. Compare file modification date using tcsh built-ins

13. Non-UTF-8 multibyte characters?