Hello,

I have submitted Slovenian Vim menu translation a while ago while I
was still using XP (and then didn't use Windows for ages; menu
translations don't work with Aqua Vim at all) and the encoding worked properly.

Now I tried it on Windows 7 and discovered that the language is set to
Slovenian_Slovenia.1250. That might be a bit weird. The native
encoding used to be cp1250 indeed (at least in XP), but it could be
that Windows 7 now
tries to use utf-8 whenever possible ... but I don't really know.

The problem is that now I get translation
   Pomoé (eacute)
instead of
   Pomoč (ccaron)
for "Help". S and Z with caron (šž) are missing completely, so there's a
big bunch of wrong translations.

Some deeper insight: In cp1250 the character č is located at C8 and
E8. In ISO-8859-1 (or Unicode, for that matter) there is egrave or the
same location (maybe I need to check again once I'm on Windows whether
that character is egrave or eacute). The characters š and ž are at
(8A/9A) and (8E/9E). All four positions are empty in Latin1 and
Unicode. Which might be a reasonble explanation of the behaviour I'm
observing.

I didn't try to modify any setting. I'm just using the defaults of
what gvim 7.2 for windows provides. I tried to rename files
afterwards, but with zero success.

It might be a problem in either the source code or the script that
takes care of choosing the right menu encoding. The English version
doesn't suffer at all, and most other menu translations are in Latin1
anyway, so nobody using that translation should notice the problem
even if it is more widespread. The only languages apart from Slovenian
sharing the same encoding are Czech/Slovak/Polish.

Does anyone have a hint how to solve this problem? Does it work OK for
Czech/Slovak/Polish users on Windows 7?

Thanks a lot,
   Mojca

PS: I already had a related problem years ago. I read at
http://vimdoc.sourceforge.net/htmldoc/version7.html:

BUG FIXES                                               *bug-fixes-7*
When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
starts with "sl".

Could this be related, just in another way?

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui