Bug 125376 - /usr/share/vim/vim62/tutor/tutor.pl is not converted into UTF8
Summary: /usr/share/vim/vim62/tutor/tutor.pl is not converted into UTF8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 2
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-05 12:15 UTC by Dawid Gajownik
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-16 13:18:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dawid Gajownik 2004-06-05 12:15:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.6) Gecko/20040113

Description of problem:
Hi!

File /usr/share/vim/vim62/tutor/tutor.pl is encoded in ISO-8859-2, so
there is a big mess on the screen when runnig vimtutor. Changing
encoding of that file to UTF8 resolves problem :-)

This bug apllies to versions from FC2 and Rawhide.

Sorry form my English :P

Version-Release number of selected component (if applicable):
vim-common-6.2.532-3

How reproducible:
Always

Steps to Reproduce:
1. log in ;-)
2. run vimtutor with system variable LANG set to "pl_PL.UTF8"

Comment 1 Colin Charles 2004-06-09 15:51:04 UTC
Considering I don't read said language, I did give it a go, and my
screen didn't garble. File is ISO-8859 though.

file -r /usr/share/vim/vim62/tutor/tutor.pl
/usr/share/vim/vim62/tutor/tutor.pl: ISO-8859 English text


Comment 2 Dawid Gajownik 2004-06-09 17:34:03 UTC
Well, my fault :( Saying "mess" I didn't mean "garbled screen". Only
non US-ASCII charakters don't look as they should, so the text is very
illegible.

Comment 3 Dawid Gajownik 2004-06-09 17:39:34 UTC
Sorry, there should be "characters", not "charakters" :/

Comment 4 Dawid Gajownik 2004-06-17 10:54:03 UTC
This "bug" is still present in vim-common-6.3.006-1 :(

Comment 5 Karsten Hopp 2004-07-05 15:04:07 UTC
Lets hope I got the encodings right ;-) 
Please try vim-6.3.011-2 

Comment 6 Dawid Gajownik 2004-07-06 18:43:05 UTC
Well, there is a small mistake in spec file:

   iconv -f CP1250 -t UTF8 tutor.pl > conv/tutor.pl

so some characters don't look as they should. This will resolve a problem:

   iconv -f ISO-8859-2 -t UTF8 tutor.pl > conv/tutor.pl

Fortunately windows encoding haven't been accepted as a Polish
standard :-)

Comment 7 Dawid Gajownik 2004-07-06 18:48:35 UTC
What a stupid error :/ Of course "hasn't been". Sorry for my grammar :(

Comment 8 Karsten Hopp 2004-07-16 13:18:51 UTC
Who am I to complain about grammar errors ? I'm not a native english 
speaker either and have my share of errors ;-) 
 
I've built vim-6.3.013-2 with your fix, lets hope I got the other 
languages right. 

Comment 9 Dawid Gajownik 2004-08-03 08:28:12 UTC
I was on vacation, so I could not check it out earlier. Now everything
works fine. Thanks!


Note You need to log in before you can comment on or make changes to this bug.