New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VIM unable to find iconv dll in windows (+iconv/dyn option) #440
Comments
On Wed, Oct 7, 2015 at 2:06 AM, louarr vim-dev-github@256bit.org wrote:
Best regards, |
Yes it works fine. I just want to point out that users with newer windows machines will most probably download the gnuwin32 version of libiconv (libiconv2.dll) and find that vim will fail to convert their file encoding (euc-jp in my case). |
dll names are hard-coded in mbyte.c. but it seems that there are more names. for example msys2 provide libiconv-2.dll not libiconv2.dll. |
Yasuhiro Matsumoto wrote:
Well, it's not too difficult to look for those two as well. Due knot trussed yore spell chequer two fined awl miss steaks. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
@brammool But |
@mattn No, it will be changed when libiconv changes its API and if compatibility is lost. Not when libtool is changed. |
Ah, I did missunderstand. @brammool so it' possible to add |
On Monday, October 12, 2015 at 10:52:27 AM UTC+9, K.Takata wrote:
Bram, below is a patch. diff --git a/src/mbyte.c b/src/mbyte.c ifndef DYNAMIC_ICONV_DLLdefine DYNAMIC_ICONV_DLL "iconv.dll"-# define DYNAMIC_ICONV_DLL_ALT "libiconv.dll" endififndef DYNAMIC_MSVCRT_DLLdefine DYNAMIC_MSVCRT_DLL "msvcrt.dll"@@ -4458,7 +4459,9 @@ iconv_enabled(verbose)
|
Yasuhiro Matsumoto wrote:
Thanks. I'll also check for libiconv2.dll, which is what was mentioned hundred-and-one symptoms of being an internet addict: /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
The latest iconv dll from gnuwin32 is named libiconv2.dll. Should vim also try to load this dll instead of the old libiconv.dll? For the time being I was able to solve the problem by copying libiconv2.dll to libiconv.dll.
The text was updated successfully, but these errors were encountered: