|
|
Terminal and Unicode support
|
|
|
|
Mac Enthusiast
Join Date: Dec 2000
Location: Kirkland, WA, USA
Status:
Offline
|
|
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.
)
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|