dotgnu-pnet
[Top][All Lists]
Advanced

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

Re: [Pnet-developers] [bugs #9266] German umlauts and german sz are not


From: Marc Haisenko
Subject: Re: [Pnet-developers] [bugs #9266] German umlauts and german sz are not displayed
Date: Wed, 8 Dec 2004 12:57:23 +0100
User-agent: KMail/1.7.1

On Wednesday 08 December 2004 10:38, Rhys Weatherley wrote:
> On Wednesday 08 December 2004 03:03 am, Marc Haisenko wrote:
> > The patch converts strings into wide char strings (32 bit characters)
> > using mbsrtowcs, which seems to be part of the C89 and UNIX98 / Single
> > UNIX Specifications and thus should be avaible on all Unices. A quick
> > google says it is also avaible on Mac OS X (being a BSD) and Windows /
> > Visual Studio 6, so this should be pretty portable.
>
> There are some platforms that don't have the re-entrant version of that
> function.  I suggest that you add a test to configure.in to check for the
> re-entrant and non re-entrant versions, and then #ifdef for the one that is
> most appropriate.  You may also want to handle the case where there is no
> mbstowcs at all, and use a simple Latin1 conversion.  The file
> "pnet/support/ansi.c" should help show you how to do this.

Am currently doing this... it will be in the patch that I'll submit to the 
patch tracker.

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]