Bug 475072 - vim set to utf-8 does not display polish characters
Summary: vim set to utf-8 does not display polish characters
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 9
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-07 11:46 UTC by lejeczek
Modified: 2008-12-08 22:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-08 22:55:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2008-12-07 11:46:06 UTC
Description of problem:
vim has problem with polish (ogonki) characters when gnome terminal set to UTF-8

Version-Release number of selected component (if applicable):

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Oct 21 2008 06:46:33)
Included patches: 1-25


How reproducible:
just type it in, 

Steps to Reproduce:
1.
2.
3.
  
Actual results:
~E~Y~[~Gó~Bżź~D
less interprets it incorrectly as binary file: <85><99><9B><87>ó<82>żź<84>

Expected results:
and cat on this file is just fine: ąęśćółżźń

Additional info:

Comment 1 Karsten Hopp 2008-12-08 14:21:27 UTC
can you reproduce this in KDE's konsole or in a plain xterm ? It works here with those two terminals when I paste your text.

Comment 2 lejeczek 2008-12-08 22:55:30 UTC
hi,
sorry, got it figured out that setting locale was the problem
setting locale to *.utf8 lets vim read and use polish characters


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