Re: Printing with utf-8 characters on Windows

2010-02-13 Thread Tony Mechelynck
On 20/12/09 17:36, Đức Minh Thái wrote: Hello, I cannot get utf-8 characters printed correctly. For example: bột becomes bá»™t My printing options are: set printfont=LMMono10:h10 This is the LMMono from LaTeX Latin Modern set printoptions=number:y set printencoding=ucs-2le bomb Please help.

Re: Printing with utf-8 characters on Windows

2010-01-07 Thread Valery Kondakoff
On 06.01.2010 14:20, Mike Williams wrote: Not a trivial problem to solve at the time. When discussed with Bram it was decided this was not wanted. Dunno if time has changed the argument at all. I'm complaining about this issue for the last ten years. This is just unbelievable: such a mighty

Re: Printing with utf-8 characters on Windows

2010-01-07 Thread bill lam
mer, 06 Jan 2010, Mike Williams skribis: If you are using true multiple-byte characters (i.e. ones not present in any of the ISO-8859 or cp character sets) then you will need to use a multi-byte font and the big issue is with handling them - their discovery on the host system, metrics

Re: Printing with utf-8 characters on Windows

2010-01-07 Thread Mike Williams
On 07/01/2010 10:04, Valery Kondakoff wrote: On 06.01.2010 14:20, Mike Williams wrote: Not a trivial problem to solve at the time. When discussed with Bram it was decided this was not wanted. Dunno if time has changed the argument at all. I'm complaining about this issue for the last ten

Re: Printing with utf-8 characters on Windows

2010-01-07 Thread Mike Williams
On 06/01/2010 18:38, Chris Jones wrote: On Wed, Jan 06, 2010 at 06:20:42AM EST, Mike Williams wrote: Hi, I wrote the original PS driver for VIM, several years ago now. This is somewhat OT from the OP as it is not Windows related. I think he wrote somewhere that he prints from Windows

Re: Printing with utf-8 characters on Windows

2010-01-07 Thread Mike Williams
On 07/01/2010 10:24, bill lam wrote: mer, 06 Jan 2010, Mike Williams skribis: If you are using true multiple-byte characters (i.e. ones not present in any of the ISO-8859 or cp character sets) then you will need to use a multi-byte font and the big issue is with handling them - their discovery

Re: Printing with utf-8 characters on Windows

2010-01-06 Thread Mike Williams
Hi, I wrote the original PS driver for VIM, several years ago now. This is somewhat OT from the OP as it is not Windows related. If you are not interested, stop reading now. The PS driver relies on fonts being present in the printer. The only ones guaranteed to be there are the base 35

Re: Printing with utf-8 characters on Windows

2010-01-06 Thread Chris Jones
On Wed, Jan 06, 2010 at 06:20:42AM EST, Mike Williams wrote: Hi, I wrote the original PS driver for VIM, several years ago now. This is somewhat OT from the OP as it is not Windows related. I think he wrote somewhere that he prints from Windows because his printer is better supported.

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Minh Duc Thai
Hello Chris, I've attached example files and my .vimrc configuration file. Hope you or someone can help. Thank you! -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.phpBột bột 0.pdf Description: Adobe PDF document .vimrc

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Yongwei Wu
2010/1/4 Minh Duc Thai thm...@gmail.com: Hello Chris, I've attached example files and my .vimrc configuration file. Hope you or someone can help. Thank you! I tested using your example, and can confirm that Print does not work well on Windows when enc=utf-8. I tried enc=latin1 and enc=cp936,

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Chris Jones
On Tue, Jan 05, 2010 at 08:18:12AM EST, Chris Jones wrote: On Mon, Jan 04, 2010 at 08:57:36AM EST, Minh Duc Thai wrote: Hello Chris, I've attached example files and my .vimrc configuration file. Hope you or someone can help. Thank you! Bột bột It looks like you sent this to me

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Benjamin R. Haskell
On Tue, 5 Jan 2010, Chris Jones wrote: On debian stable, I also tested printing utf-8 encoded files containing samples of CJK, Devanagari, and a couple other Eastern scripts and I was unable to get :hardcopy to print their contents. Since utf-8 is the default encoding on debian Lenny, I

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Benct Philip Jonsson
Chris Jones skrev: On Tue, Jan 05, 2010 at 11:39:44AM EST, Benjamin R. Haskell wrote: The only way I was able to get decent printouts was by just shelling out to paps: :!paps % test.ps Looks like I was on the right track re: the OP's problem then, and one variation or other involving

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Yongwei Wu
2010/1/6 Chris Jones cjns1...@gmail.com: The only way I was able to get decent printouts was by just shelling out to paps: :!paps % test.ps Except that the message subject is Printing with utf-8 characters on WINDOWS The real universal solution for non-ASCII characters is NOT print

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Minh Duc Thai
Except that the message subject is Printing with utf-8 characters on WINDOWS Yes, the message subject is ... on Windows.'' since my printer driver works better than its cousin on Linux. I'm thinking about the PDF-direct generate feature in Vim. Is it a reasonable feature? Should

Re: Printing with utf-8 characters on Windows

2010-01-02 Thread Minh Duc Thai
Hello Chris, I've tried to print in Linux (I use Linux Mint version 8, the printer is the Print To PDF) and the result is the same as in Windows. I think this is a bug. On Wed, Dec 23, 2009 at 3:31 AM, Chris Jones cjns1...@gmail.com wrote: On Sun, Dec 20, 2009 at 11:36:27AM EST, Đức Minh Thái

Re: Printing with utf-8 characters on Windows

2010-01-02 Thread Minh Duc Thai
About the ucs2, because the utf8 has failed so many times. :( On Sat, Jan 2, 2010 at 6:16 PM, Minh Duc Thai thm...@gmail.com wrote: Hello Chris, I've tried to print in Linux (I use Linux Mint version 8, the printer is the Print To PDF) and the result is the same as in Windows. I think this

Re: Printing with utf-8 characters on Windows

2010-01-02 Thread Chris Jones
On Sat, Jan 02, 2010 at 06:17:35AM EST, Minh Duc Thai wrote: About the ucs2, because the utf8 has failed so many times. :( On Sat, Jan 2, 2010 at 6:16 PM, Minh Duc Thai thm...@gmail.com wrote: Hello Chris, I've tried to print in Linux (I use Linux Mint version 8, the printer is the

Re: Printing with utf-8 characters on Windows

2009-12-22 Thread Chris Jones
On Sun, Dec 20, 2009 at 11:36:27AM EST, Đức Minh Thái wrote: Hello, I cannot get utf-8 characters printed correctly. For example: bột becomes bá»™t U+1ED9 ộ LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW See: :help ga In utf-8, this character is encoded by the following

Printing with utf-8 characters on Windows

2009-12-20 Thread Đức Minh Thái
Hello, I cannot get utf-8 characters printed correctly. For example: bột becomes bá»™t My printing options are: set printfont=LMMono10:h10 This is the LMMono from LaTeX Latin Modern set printoptions=number:y set printencoding=ucs-2le bomb Please help. Thank you! -- You received this