Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
font and encoding issues
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
yahalom  
View profile  
 More options Nov 16 2012, 4:17 am
From: yahalom <yahal...@gmail.com>
Date: Fri, 16 Nov 2012 01:17:40 -0800 (PST)
Local: Fri, Nov 16 2012 4:17 am
Subject: font and encoding issues

For some reason I have issues with seeing Hebrew by default with vim on my new window 7 computer. all other application works fine with Hebrew.
I installed vim73_46.
I tried to see what causes the issue comparing the new computer with the old one (where all works fine) and found that there are 2 differences:
1. the default encoding on the old is cp1255 and on the new is latin1.
2. the font on both is Fixedsys but on the old when I go to choose font the Fixedsys has a 'Hebrew' in the script selection and on my new machine it is 'western'.

how can I make the fixedsys support hebrew or be hebrew in the script selection?
I installed on the windows font 'Fixedsys excelsior' but vim does not show it in the font selection. why?
why is the encoding difference ?(vimrc is the same)

thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Mechelynck  
View profile  
 More options Nov 16 2012, 5:51 am
From: Tony Mechelynck <antoine.mechely...@gmail.com>
Date: Fri, 16 Nov 2012 11:50:42 +0100
Local: Fri, Nov 16 2012 5:50 am
Subject: Re: font and encoding issues
On 16/11/12 10:17, yahalom wrote:

> For some reason I have issues with seeing Hebrew by default with vim on my new window 7 computer. all other application works fine with Hebrew.
> I installed vim73_46.
> I tried to see what causes the issue comparing the new computer with the old one (where all works fine) and found that there are 2 differences:
> 1. the default encoding on the old is cp1255 and on the new is latin1.
> 2. the font on both is Fixedsys but on the old when I go to choose font the Fixedsys has a 'Hebrew' in the script selection and on my new machine it is 'western'.

> how can I make the fixedsys support hebrew or be hebrew in the script selection?
> I installed on the windows font 'Fixedsys excelsior' but vim does not show it in the font selection. why?
> why is the encoding difference ?(vimrc is the same)

> thanks

The encoding difference means there is a difference in your system
locale: on Windows it's in your "Country Preferences" (or something that
sounds more or less like that).

You can set the 'encoding' in your vimrc (preferably near the top of the
file), I recommend UTF-8 which allows Vim to represent any possible
'fileencoding' in memory: the conversion is trivial (and any Vim
compiled with +multi_byte can do it) for us-ascii, latin1, utf-8 (duh!)
and any endianness of ucs-2, utf-16 and utf-32; for other charsets you
need both a Vim version compiled with +iconv (on Windows, usually
+iconv/dyn) and the "iconv" library (on Windows, iconv.dll or
libiconv.dll) in some directory where Vim can find it. It is not
distributed with Vim.

You can set the font using the 'guifont' option. Vim can use only
monotype fonts (fonts defined as having characters all of a single
width). In my experience, the Courier_New font (which is maybe not very
pretty, though IMHO prettier than Fixedsys) has a pretty good covering
of encodings. When my "preferred" font hasn't got glyphs for the
characters I want to see, that's the one I fall back onto.

For details, see:
        http://vim.wikia.com/wiki/Working_with_Unicode
        http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI

Best regards,
Tony.
--
ARTHUR: Charge!
    [They all charge with swords drawn towards the RABBIT.  A tremendous
twenty
    second fight with Peckinpahish shots and borrowing heavily also on the
    Kung Fu and karate-type films ensues, in which some four KNIGHTS are
    comprehensively killed.]
ARTHUR: Run away!  Run away!
                  "Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yahalom  
View profile  
 More options Nov 16 2012, 10:12 am
From: yahalom <yahal...@gmail.com>
Date: Fri, 16 Nov 2012 07:12:04 -0800 (PST)
Local: Fri, Nov 16 2012 10:12 am
Subject: Re: font and encoding issues

Changing the "system locale" indeed solved all the problem including making the fixedsys work nicely with Hebrew.
Thanks for the quick response and for reminding me to double check the setting as I thought that this setting were already done.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »