BSD Ports

converters/libiconv 1.18 MidnightBSD

Character set conversion library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3
Categories
converters, devel

Description

This library provides an iconv() implementation, for use on systems which don't have one, or whose implementation cannot convert from/to Unicode.

It can convert from any of these encodings to any other, through Unicode conversion. It has also some limited support for transliteration, i.e. when a character cannot be represented in the target character set, it can be approximated through one or several similarly looking characters.

libiconv is for you if your application needs to support multiple character encodings, but that support lacks from your system.

See either README or website for the list of supported encodings.

In the other systems

The newest version among them is 1.19, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDconverters/libiconv1.18 behind since 2026-07-23no data-[email protected]-
FreeBSDconverters/libiconv1.18_1 behind since 2026-07-23none known-[email protected]-
OpenBSDconverters/libiconv1.19 newestno data-Brad Smith <[email protected]>-
NetBSDconverters/libiconv1.19 newestnone known-[email protected]2026-07-23
DragonFlyconverters/libiconv1.17_1 behind since 2026-07-23none known-[email protected]-
HardenedBSDconverters/libiconv1.18_1 behind since 2026-07-23no data-[email protected]-
GhostBSDconverters/libiconv1.18_1 behind since 2026-07-23no data-[email protected]-
OPNsenseconverters/libiconv1.18_1 behind since 2026-07-23no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install libiconv

From mports:

cd /usr/mports/converters/libiconv && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libiconv>0:converters/libiconv
LIB_DEPENDS=	libcharset.so:converters/libiconv

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

Options name: converters_libiconv

OptionDefaultDescription
DOCSoff
ENCODINGSonInclude extra character sets
USES
libtool
Service scripts
none

Files

Manual pages 6
  • iconv(1)
  • iconv(3)
  • iconv_close(3)
  • iconv_open(3)
  • iconv_open_into(3)
  • iconvctl(3)
pkg-plist 24
  • bin/iconv
  • include/iconv.h
  • include/libcharset.h
  • include/localcharset.h
  • lib/libcharset.a
  • lib/libcharset.so
  • lib/libcharset.so.1
  • lib/libcharset.so.1.0.0
  • lib/libiconv.a
  • lib/libiconv.so
  • lib/libiconv.so.2
  • lib/libiconv.so.2.7.0
  • share/man/man1/iconv.1.gz
  • share/man/man3/iconv.3.gz
  • share/man/man3/iconv_open.3.gz
  • share/man/man3/iconv_open_into.3.gz
  • share/man/man3/iconv_close.3.gz
  • share/man/man3/iconvctl.3.gz
  • share/doc/libiconv/iconv.1.html
  • share/doc/libiconv/iconv.3.html
  • share/doc/libiconv/iconv_close.3.html
  • share/doc/libiconv/iconv_open.3.html
  • share/doc/libiconv/iconv_open_into.3.html
  • share/doc/libiconv/iconvctl.3.html
distinfo 1
FileSizeSHA256
libiconv-1.18.tar.gz5.82259e+063b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8
Master sites 1
  • GNU