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: Rhys Weatherley
Subject: Re: [Pnet-developers] [bugs #9266] German umlauts and german sz are not displayed
Date: Wed, 8 Dec 2004 19:38:27 +1000
User-agent: KMail/1.4.3

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.

Cheers,

Rhys.



reply via email to

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