Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Terminal and Unicode support

Terminal and Unicode support
Thread Tools
rw
Mac Enthusiast
Join Date: Dec 2000
Location: Kirkland, WA, USA
Status: Offline
Reply With Quote
Sep 8, 2002, 02:38 PM
 
The Terminal now supports Unicode (UTF-8), in principle, but whether it really works or not seems to depend on what process is running.

I have some folders with Japanese names. If I use "ls", the name is just displayed in the Terminal as a row of question marks. With "ls | more", though, Terminal displays the Japanese characters properly. With "ls | less", Terminal displays a set of codes. There seems to be no way to "cd" into a folder with a Japanese name.

http://home.earthlink.net/~khr/terminal_unicode.txt
( Last edited by rw; Sep 8, 2002 at 02:44 PM. )
     
kvm_mkdb
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status: Offline
Reply With Quote
Sep 8, 2002, 03:17 PM
 
Originally posted by rw:
I have some folders with Japanese names. If I use "ls", the name is just displayed in the Terminal as a row of question marks. With "ls | more", though, Terminal displays the Japanese characters properly. With "ls | less", Terminal displays a set of codes. There seems to be no way to "cd" into a folder with a Japanese name.
[/URL]
try 'ls -v | less -r' instead
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:16 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,