Hi,
I do frequently edit (vi/emacs) text files in foreign languages, in particular French and German. In fact I have a French keyboard on my ibook.
I have an Australian keyboard on my iBook here and frequently have to type French or German text. On my other Macs, the keyboards are in French, in general. I don't have serious problems (qpqrt fro; typing q couple of zrong letters so;eti;es ;-) ).
I just noticed that typing e.g. French characters produces weird (unreadable) results in text files. Now I wonder how to change this.
It depends on the application you are in. There are two different aspects here, too: Displaying and typing characters are two different stories.
I usually (on other computers) use a Latin-1 setting, which I find more convenient for my purposes than Unicode. So I guess the best would be to get latin-1 going under fink .. is that possible ?
This has not much to do with Fink. Many applications with text windows allow to choose latin1 encoding.
If not, what do I need to tell terminal/vi/emacs so that the unicode generated by the ibook is readable ?
For the Terminal.app, you can choose Iso-latin1 in the Terminal->Window Settings->Display menu. For xterm and for xemacs, I didn't have to do anything in order to have correct latin1 encoding. vi and emacs inside a Terminal window or inside xterm each have their own encoding for displaying characters. I suppose there must be commands to get latin1 encoding, but I don't know them, I stay with the applications that work.
Also, is there a special setting (environment variable ?) to set so that when I login another computer, vi et al can correctly show texts under my terminal/xterm under fink ? (eg right now I have a text which shows fine if I log in the machine where it is stored and do a vi, but if I log in via the ibook using either terminal or xterm, I can't read the text).
If you look at the text via 'more', you get the encoding chosen for Terminal.app. pico seems to respect this encoding, too. vi and emacs don't.
And last but not least, how does the language/character setting
work with X11 (I use the binaries from fink/stable) ? Eg changing the
keyboard under MacOsX has no effect on an xterm, whereas it changes
language/encoding for a terminal.
You have a XDarwin menu option for choosing your keyboard.
Oh yes, and what about international us style (typing ' then e for instance producing e-accent-aigu) ? With some applications this option is grayed out ..
Look at the keyboard with the Key Caps application. It shows the dead accents. For me they are Option-e for aigu, Option-` for grave, Option-i for circonflexe, Option-" for umlaut etc.
Thanks for any tips on internationalizing my fink setup ..
It's a never-ending story :-(
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
