On Fri, May 31, 2013 at 05:34:34PM -0700, Matthew Dempsky wrote: > On Fri, May 31, 2013 at 5:19 PM, Stefan Sperling <s...@openbsd.org> wrote: > > Existing lib/libc/nls/*.msg files are renamed to the names shown in > > the libc/Makefile part of the diff, and new ones are added to support > > the UTF-8 locale (converted from the existing .msg files with iconv). > > I'm not including this change in the diff since that would mix four > > different character sets in a single email. > > Is it possible for us to use UTF-8 for all of the source files, but > convert them to KOI8 or ISO-8859-1 as appropriate at build/install > time? Or is that what you mean by we don't have iconv in base, so > there's no functionality in base for converting between two charsets?
Yes. Conversion currently depends on the GNU iconv port. If iconv existed in base we could use just the UTF-8 source files.