home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / console-tools / examples / README.strange-name < prev    next >
Encoding:
Text File  |  2006-08-22  |  843 b   |  22 lines

  1. The file with a strange name in this directory is no mistake.
  2. It shows that Linux handles filenames in Unicode (UTF-8)
  3. without ever realizing that they are in Unicode.
  4. [However, some old tar's are unhappy with this filename.]
  5.  
  6. If you want to see it (the filename consists of two musical notes):
  7. % consolechars --default-font    # load PC font, just to be sure
  8. % echo -e '\033%8'    # set Unicode output mode
  9. % ls -N            # show filenames (raw)
  10. % echo -e '\033%@'    # set Latin1 output mode again.
  11.  
  12. If you want to remove it:
  13. % rm ./??????
  14.  
  15. If you want to input Unicode:
  16. % kbd_mode -u        # Be careful! Do this only with a kbd_mode
  17.             # from kbd-0.88.tar.gz or later!
  18. and next tell loadkeys what key combinations correspond to which
  19. Unicode values. (See also the contents of that musical file.)
  20.  
  21. See also the scripts unicode_start and unicode_stop in ../src.
  22.