Re: [Banshee-List] utf8 validation



entagged-sharp must be pure 100% .NET, and therefore cannot link against
Gtk# for glib. I suppose we could P/Invoke g_utf8_validate, and fall
back on the ported version if the P/Invoke failed, but that seems pretty
ridiculous, and would also have to introduce a DLL Map.

--Aaron

On Mon, 2005-11-21 at 07:30 -0500, JP Rosevear wrote:
> On Sat, 2005-11-19 at 12:50 +0200, Dogacan Guney wrote:
> > Hello everyone,
> > 
> > The attached patch adds a new public class (UnicodeValidator) to
> > Entagged. It has one public function (ValidateUTF8) which checks if
> > the given byte array can be validated as UTF8.
> 
> Is there a reason the glib utf8 validation routines can't be used?
> 
> -JP




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]