zhmz90 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

vim won't display utf-8 characters #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set showbreak=↪ " character show when wrapping line
2.
3.

What is the expected output? What do you see instead?
Previously i see the "↪" escape character normally, now (since update i 
believe) I get error "E595: contains unprintable or wide character: 
showbreak=â~Fª"

What version of the product are you using? On what operating system?
Version 7.4. Arch Linux Operating System

Please provide any additional information below.

Original issue reported on code.google.com by JorgeCha...@gmail.com on 26 Sep 2014 at 6:40

GoogleCodeExporter commented 9 years ago
Please poste the complete :version output.

Original comment by chrisbr...@googlemail.com on 26 Sep 2014 at 8:12

GoogleCodeExporter commented 9 years ago
Works fine for me, on Windows 64-bit gvim 7.4.430. 

The garbage characters when you ask Vim about showbreak is strange. 

Did you actually set showbreak interactively, or is it in your .vimrc? If in 
your .vimrc, did you inform Vim of the file encoding with the "scriptencoding" 
command, prior to setting showbreak? Did you set your "encoding" option prior 
to both of these things?

Original comment by benjamin...@rockwellcollins.com on 26 Sep 2014 at 8:40

GoogleCodeExporter commented 9 years ago
This can be marked as solved. I compiled vim from source and didn't even modify 
my vimrc and everything got working again. Thank you

Original comment by JorgeCha...@gmail.com on 27 Sep 2014 at 1:28

GoogleCodeExporter commented 9 years ago

Original comment by brammool...@gmail.com on 27 Sep 2014 at 8:57