On Monday, December 30, 2013 4:12:16 PM UTC-6, Tony Mechelynck wrote:
> On 30/12/13 22:15, Ben Fritz wrote:
> > codepage 437 contains very few Unicode characters beyond the basic ASCII range. Try a different codepage. Unfortunately I don't know enough about how the terminal works to know for certain whether any will work.
> >
>
> IIRC, cp437, which used to be the default MS-DOS ROM codepage for United
> States, contains a number of characters for ASCII art (single, double
> and mixed frame borders and corners, several shades of grey dithering,
> and dark blocks: full, vertical-split and horizontal-split) which aren't
> in Latin1. All of them are in the upper half of the table, i.e.
> somewhere in the range 0x80-0xFF.
>
Completely true, but also completely useless for the current problem. Most people won't be trying to draw fancy ASCII art with special characters in Vim, they'll be trying to type Russian or Greek or adding a few special quotes or punctuation here and there.
I suspect the solution will either be:
1. Use chcp to set a codepage containing the desired glyphs (Russian, Greek, whatever) in the upper half of the table
2. Use chcp to set a unicode codepage
I'm not sure which will work best, or frankly whether either will work.
And I cannot possibly recommend a codepage since I don't know what characters are desired. Some googling should tell you what's available...here's a list I've used before:
http://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspx
Maybe try the UTF-8 codepage first.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment