At 14:00 +0300 on 17/8/2002, Amir Tal wrote:

>  starting gvim with the "-H" switch starts it in hebrew mode (RTL, insert
>  hebrew) but i get "giberish" while typing.
>  changing the keyboad map to hebrew types question marks.
>
>  idea's ?

Locale setting. Vim also keeps a variable called "encoding" which 
indicates what the file's encoding is. Its initial value is set by 
the locale (either LANG or LC_CTYPE, I don't remember which). If you 
want the file's encoding to be Hebrew, make sure you start vim with 
the locale set to he_IL.ISO8859-8. Otherwise, you'll have to put a 
"set encoding" into your .vimrc. You should probably read the help 
files regarding encoding, as there is an editor encoding and a file 
encoding, and if they are different, vim uses iconv to convert 
between them. It gets a bit complicated.

Herouth
-- 
EMAIL: [EMAIL PROTECTED]
HOME PAGE: http://herouth.port5.com/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to