The following example shows how to avoid the problem: python << EOS uniStr = u"\u2026" str = uniStr.encode( vim.eval("&encoding") ) print str EOS Or, the following one liner: :py print u"\u2026".encode( vim.eval("&encoding") )
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| Version |
|
| dbkwik:vim/property/wikiPageUsesTemplate | |
| Previous |
|
| Category |
|
| Subpage |
|
| Complexity |
|
| Created |
|
| ID |
|
| NEXT |
|
| abstract |
|