|
|
Mix ANSI colors, screen and encodings in Terminal
It's not related directly to terminal encoding - I think you need to setup locale to make ls display accented characters. There is not much info about this in OS X man pages, but there is plenty of docs on internet for linux and mostly all these things applicable to OS X too. In short - you need to find your locale in /usr/share/locale and try to call ls like this (example):
Mix ANSI colors, screen and encodings in Terminal
Okay, thanks, this is interesting. When I set the environmental variable to say, fr_FR.UTF-8, ls -la now shows the months that the file was created in French (with appropriate accents on the characters), but my filenames with accented characters still don't appear properly. It doesn't matter if I create the file from the gui (aqua) or I do it from the command line, the accents appear as e??i??, etc.
Mix ANSI colors, screen and encodings in Terminal
Oh duh. Type "ls -v" to properly render accented characters.
specific encoding?
Thanks very much for the hints. :)
specific encoding?
I wish I could help you, but this is way too different from languages I have an experience with. The best way for you would be search on google for your language specific info, keywords "vietnamese locale mac os x". There are always "small" details and I'm pretty sure there are ready recipes made by native guys who know what they are talking about. One hint though, make sure there are directories starting with "vi" in /usr/share/locale on your mac. If not - don't bother, you'll need to find way to install needed locales to your system. On my system there are no such locales. If there are try them all - probably there will be "vi" and "vi_VI" at least. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|