Simple fix:
- Open Terminal app and go in Preferences.
- In the Shell section, choose "ISO Latin 1" in the String Encoding menu.
|
|
|
I was having a problem when I wanted to insert, in MySQL db, any french characters like "é" or "Ã " for exemple. The terminal was always giving me "??" instead. This was also true when connecting to my Linux/MySQL server using SSH. Keep getting those "??" when doing a SELECT FROM.
Simple fix: - Open Terminal app and go in Preferences. - In the Shell section, choose "ISO Latin 1" in the String Encoding menu.
•
[8,217 views]
Hint Options
more on this
if you want to insert data from a textfile that was created on a mac with non-unix tools, say with BBEdit or MS Word, you'll find yorself in problems too with the character encodings. You'll have to convert the file from MacOS Roman to ISO Latin1.
I always use cyclone for this, which is a really neat tool, and free (as in speech) !
UTF-8
For German, UTF-8 seems to be the correct encoding.
French characters
I have a Ti G4 with a French keyboard. I've tried every encoding under the
French characters
i have this in my .bashrc to get 8bit chars working in terminal...how it's done in tcsh and other shells i have no idea...
French characters
Here is something that might be useful, if someone can suggest how
French characters
Great, this works!
French characters
OK, once you've added in your .profile or whatever the piece of code provided by see, you can alias 'more' to 'more -r' to be able to read files with words like été, università , también... and much more!
Type ctrl-v before typing a special character
If a program in the shell won't accept your characters even after switching to ISO-8859-1, try to type ctrl-v before. Nothing will happen visually after typing ctrl-v, but the next character should be accepted.
Accents in terminal
I'm afraid the only way around is to use the zsh shell. It will allow you to use 8-bit characters. To my knowledge, this is impossible with tcsh, even with control-v. :o/
Icelandic characters
I was wondering, does anybody know how to display Icelandic and other such obscure characters in the Terminal?
French characters in Terminal
One remark:
latin-1 is not a good choice if you want to write in French, because it doesn't encode the character 'Å“' which is comes up in many common words; the use of utf-8 is recommended instead (mac-roman also encodes 'Å“' properly)
|
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.77 seconds |
|