SoC 2009: BSD-licensed libiconv in base system

David Schultz das at FreeBSD.ORG
Mon Apr 27 19:48:43 UTC 2009


On Mon, Apr 27, 2009, Joerg Sonnenberger wrote:
> On Mon, Apr 27, 2009 at 11:49:41AM -0700, Tim Kientzle wrote:
> > David Schultz wrote:
> >> ... whether it would make more sense to standardize on something like
> >> UCS-4 for the internal representation.
> >
> > YES.  Without this, wchar_t is useless.
> 
> I strongly disagree. Everything can be represented as UCS-4 is a bad
> assumption, but something Americans and Europeans naturally don't have
> to care about.

...but isn't this moot at present because there are no
widely-accepted encodings that include characters that
aren't supported by UCS-4? Citrus doesn't seem to support
any such encodings in any case.

If this ever really becomes an issue, we could always stuff
locale-dependent encodings into unused UCS-4 code pages.
However, it doesn't seem worthwhile to deliberately burden
programmers over concerns that are presently, and for the
foreseeable future, hypothetical.


More information about the freebsd-hackers mailing list