The dialogs are poped up by the function "inputdialog()" and the commands 
"promptfind", "promptrepl". The procedures inside gVim cannot get the correct 
input from these dialogs if the input contains any unicode character beyond 
the character set of ACP (system active codepage), even if the gVim runs under
Windows NT and with the setting 'enc=utf-8'. In fact, if encoding is set to 
UTF-8 or any other encoding that differs from the ACP, there may be more 
problems to get the input from these dialogs since there's no encoding 
convert.

Here's a patch. It will detect Windows OS version when use these dialogs. If 
it is Windows NT, the wide versions of Windows API will be used instead of 
non-wide versions to get the input, then convert the wide string to the 
encoding used inside gVim.

Best regards,
Yanwei.
-- 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: for72069.gz
Description: application/gzip-compressed

Raspunde prin e-mail lui