Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale
- Alexey Froloff wrote:
> * Bram Moolenaar <Bram@> [060902 00:28]:Thanks. I notice you rename tutor.ru to tutor.ru.koi8. Is there
> > > Better solution: keep tutor.ru.utf-8, generate .cp1251 and .koi8
> > > From it and detect all encodings in tutor.vim. vimtutor will
> > > fall back to english in "unsupported" locales (ru_RU.ISO8859-5)
> > > for example.
> > I checked the existing Russian tutor files, and they are exactly the
> > same when converted to utf-8. Thus we can use the utf-8 file as the
> > master and generate the others from it.
> In this case only tutor.ru.utf-8 shall be kept in source tree. I
> guess it can't be done right now since patch will be to big.
> New patch attached, should be included in next release.
anything against keeping the old name? Just to avoid a big diff that
doesn't change much.
DINGO: Wicked wicked Zoot ... she is a bad person and she must pay the
penalty. And here in Castle Anthrax, we have but one punishment
... you must tie her down on a bed ... and spank her. Come!
GIRLS: A spanking! A spanking!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
- * Bram Moolenaar <Bram@> [060902 16:23]:
> Thanks. I notice you rename tutor.ru to tutor.ru.koi8. Is thereIt's because "tutor.ru" is "default" file. Now there's no such
> anything against keeping the old name?
thing like "default russian encoding". I think it's better check
if current locale is supported and fall back to english if not.
Maybe I'm a little paranoid ;-)
> Just to avoid a big diff that doesn't change much.Well, first version will work now without changing much. Second
version was supposed to be included in next "tarballed" version.