How to install `iconv` on AppVeyor?

Jan Pio's Avatar

Jan Pio

21 Aug, 2018 02:38 PM

My software under test uses the iconv command line tool to convert some strings.
Unfortunately iconv is not available on AppVeyor images by default.

How can I install it?

Here is a version that works on Windows:

Currently I have hacked together a workaround by abusing another package that "includes" iconv:
So I download an execute
or when Chocolatey is not down/slow:

  - cinst gtk-runtime
Although that currently works, it also installs a lot of unnecessary stuff. I would appreciate a better solution.
  1. Support Staff 1 Posted by Ilya Finkelshte... on 21 Aug, 2018 08:10 PM

    Ilya Finkelshteyn's Avatar

    This should work:

    - appveyor DownloadFile
    - libiconv-1.9.2-1.exe /SILENT /SUPPRESSMSGBOXES


  2. 2 Posted by Jan Pio on 22 Aug, 2018 10:28 PM

    Jan Pio's Avatar

    Thanks, works as expected.

    Although I am using as the download URL as it is not pinned to a specific mirror but redirects to a real download anyway.

  3. Jan Pio closed this discussion on 22 Aug, 2018 10:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac