[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about iconv_open
From: |
yueyue papa |
Subject: |
Re: about iconv_open |
Date: |
Wed, 11 Jun 2008 15:50:52 +0800 |
stop the caller, or skip all the following related convert APIs.
NO NOT LET THE FAILURE GOES ON.
Lee
On 6/11/08, Pawel Kot <address@hidden> wrote:
> Hi,
>
> On Wed, Jun 11, 2008 at 09:30, yueyue papa <address@hidden> wrote:
> > In windows platfrom, I always meet iconv_open failure.
> > cd = iconv_open("WCHAR_T", gn_char_get_encoding());
> > nconv = iconv(cd, &pin, &inlen, &pout, &outlen);
> > In the project the iconv_open return value is not checked, it always
> > meet windows platform failure. I suggest to check return valure.
>
> And what to do with the failure?
>
> pkot
> --
> Emo Philips - "I was the kid next door's imaginary friend."
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>