[TUHS] Canonical Historic Approach to iconv(1)

segaloco via TUHS tuhs at tuhs.org
Thu Nov 28 10:07:56 AEST 2024


On Wednesday, November 27th, 2024 at 11:08 AM, Henry Bent <henry.r.bent at gmail.com> wrote:

> On Wed, 27 Nov 2024 at 13:56, segaloco via TUHS <tuhs at tuhs.org> wrote:
> 
> > I started thumbing through my old manuals and noted that iconv(1) is not a historic utility, rather, SUS picked it up from HP-UX along the way.
> 
> 
> I see iconv(1) (and iconv(5)) in the SVR4 sources, but I don't see any references to HP there - what manpages are you looking at?
> 
> -Henry

My mistake, the HP-UX reference was for iconv(3), not iconv(1).  The source is the current issue of POSIX, Issue 8 (2024).  Indeed iconv(1) is in the SVR4 manuals but only supporting system-provided charmaps.  Additionally, while in the SVR4 manuals, I didn't spot it on first pass through SVID Issue 3 which is the SVR4-era issue.  It looks like specifying local charmap files was added to the spec in IEEE 1003.1-2004:

> Issue 6
> This utility has been rewritten to align with the IEEE P1003.2b draft standard. Specifically, the ability to use charmap files for conversion has been added.

- Matt G.


More information about the TUHS mailing list