pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39765: glib2 does not support WCHAR_T conversion using built-in iconv on NetBSD



The following reply was made to PR pkg/39765; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/39765: glib2 does not support WCHAR_T conversion using
        built-in iconv on NetBSD
Date: Sun, 19 Oct 2008 10:49:13 +0200

 On Sat, Oct 18, 2008 at 11:15:00PM +0000, jmcneill%invisible.ca@localhost 
wrote:
 >      g_convert fails when trying to convert to or from WCHAR_T on NetBSD
 >      because of limitations in the system iconv implementation. glibmm
 >      uses this in its ustring class implementation, so any application
 >      using glibmm will fail.
 
 I disagree with this analyses. glibmm makes the assumption that the
 internal encoding is constant, which is not valid. The correct code to
 use here is nl_langinfo to extract CODESET, use iconv to convert to that
 and then do a normal mbstowcs.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index