Questions tagged [unicode]

Question about using Unicode character set, how to insert them, how to display them and general use of the UTF8 encoding.

Filter by
Sorted by
Tagged with
1
vote
0answers
63 views

Can vim handle unicode line and paragraph separators?

Line endings differ between platforms; LF on unix, CRLF on windows, CR on Mac OS Classic. Unicode introduced LS (Line separator, U+2028) and PS (Paragraph separator, U+2029), as unambiguous ...
1
vote
0answers
84 views

Unicode character does not show when entered using <C-q> with cp932

I am trying to get the unicode character '①' inserted in vim with the insert mode command but failed. <CTRL-Q>u2460 --> result:$` So I copied the unicode to vim and checked the hex value ...
1
vote
0answers
142 views

Is Vim's filename completion broken in Windows when using uppercase u umlaute (Ü)?

In a vim buffer, I want to insert the path to a file named blablabla\barbar-Überbar\bazbazbaz.txt which exists under the current working directory - and I am running gvim in a MS-Windows environment. ...
1
vote
0answers
59 views

Open file with Esperanto characters `Ĝ` and `ĝ` in gVim

I have an Autohotkey script to write Esperanto characters. It has the form AppsKey & G:: if GetKeyState("Shift", "P") send Ĝ else send ĝ return Notepad has no problem with ...
0
votes
1answer
453 views

Replace nbsp with none string in utf-8 encoding in vim

The nbsp(non breaking space)'s binary format in utf-8 encoding is c2a0. Create a sample.txt this way :input it is a test then ctrl+v+u a0,then you get the sample test file. xxd sample.txt 00000000: ...
0
votes
1answer
56 views

How to express an unicode code points set in match command?

My test.txt for this example.   unicode 3000 (whitespace in Chinese mark) ! unicode ff01 ^ unicode ff3e ~ unicode ff5e The command can match whitespace in Chinese mark(u3000). hi! ...
0
votes
2answers
722 views

Use visual mode to convert text to unicode bold formats?

How can I make it so when in visual mode, pressing b will toggle highlighted text to its bold unicode counterpart? This is what I mean by its Unicode counterpart: http://qaz.wtf/u/convert.cgi?text=...
0
votes
1answer
36 views

Detect when at last character when character is multibyte

I have the following command for \ that jumps to the last character unless the cursor is under the last character, in which case it jumps to the start of the line. nnoremap <silent> <expr>...
0
votes
1answer
450 views

How to replace a character with another character by character code

I want to write a command that replaces all of a line's spaces with figure spaces, and I want the code to not use those literal characters so it is more legible than :s/ / /g So, naturally, I try ...
0
votes
1answer
127 views

On Windows some symbols are not displayed

I use 'DejaVu Sans Mono' as gui font both on Windows (7 and 10) and Linux. However, on Windows some characters are not displayed correctly (while many other Unicode characters are displayed normally). ...
0
votes
1answer
41 views

Why does backslash-escaping a CJK character cause a very-magic regex match to fail?

My understanding of very-magic regexes is that you can escape any character outside [A-Za-z0-9_] with a backslash to make it match literally. However, I don't see that behaviour with CJK characters. ...
0
votes
1answer
110 views

How to input full width spacewhite in vim?

In cjk characters set, full width space has the unicode value is U+3000, the english space unicode (half width space) value is U+0020. How to input full width space in Vim?
0
votes
1answer
49 views

Triggering automatic replacements of certain strings

I am using the Vim version 8.0 editor, mostly via GVim. I would like to be able to type unicode/greek characters like lambda, mu, alpha inside my Haskell scripts. There is a vim plugin called latex-...
0
votes
1answer
92 views

Can I specify the encoding of a sourced file?

When vim sources a file (vimrc, or :so ...), how does it know in what encoding the file was written? Can I specify the encoding with which it should source the file?
0
votes
1answer
704 views

How to enter and display German Umlauts on a Windows 10 machine with Russian locale?

I want to be able to write German texts using my Vim 7.4 installed on a Windows 10 machine with Russian locale and German keyboard layout. My .vimrc file looks like this: set encoding=utf-8 set ...
0
votes
1answer
932 views

Getting Error while opening files through vim

I am trying to use unicode characters in vim. Since msdos prompt didnt support unicode, I downloaded cygwin. I added some commands in .vimrc through cygwin. Basic commands like setting encoding, ...

1
2