1. tomas curbina
  2. vimclojure

Commits

Meikel Brandmeyer  committed a6b1641

Fix vimclojure#bencode#ReadString

  • Participants
  • Parent commits 14a829a
  • Branches default

Comments (0)

Files changed (1)

File vim/autoload/vimclojure/bencode.vim

View file
 	endwhile
 	let cnt = eval(cntS)
 	let s = strpart(a:input, pos, cnt)
+	let s = iconv(s, "utf-8", &enc)
 
-	return [ [s], pos + strchars(s) ]
+	return [ [s], pos + cnt ]
 endfunction
 
 function! vimclojure#bencode#ReadNumber(input, pos)