RE: Converting ASCII to UTF-8?
RE: Converting ASCII to UTF-8?
- Subject: RE: Converting ASCII to UTF-8?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Tue, 30 Mar 2004 09:18:35 -0500
- Thread-topic: Converting ASCII to UTF-8?
Thanks for all your help, I'm going to try some of your suggestions
today.
I realized yesterday after I sent the email that ASCII was not my
problem.
However, I am running into this same problem running our shell scripts
from the command-line. On my 10.3 machine (haven't tested 10.2), the
Terminal application defaults to UTF-8 encoding for displaying
characters. When I run a script I get question marks (?) instead of
special characters. When I change the character set encoding to
"Western (ASCII)" everything is displayed properly, hence my confusion
in the first post. (You can change the encoding by going to
Terminal->Window Settings->Display). I'm not sure what to do about this
because connecting via ssh from a non-mac machine will display
everything correctly.
I know this isn't the right mailing list for the question but is there a
way to detect the current session's encoding and convert the strings
from the command line? All these scripts are basic shell scripts (not
perl). It isn't too important because almost every feature in the
product can be controlled w/o the command-line but it is still an option
for users.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.