Bug 475072

Summary: vim set to utf-8 does not display polish characters
Product: [Fedora] Fedora Reporter: lejeczek <peljasz>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: karsten
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-08 22:55:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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