freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] One failing unit test (iconv_read) on git master on OS X
- From: Marc Abramowitz <marca AT surveymonkey.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] One failing unit test (iconv_read) on git master on OS X
- Date: Sun, 15 Sep 2013 16:27:01 +0000
On 9/15/13 2:08 AM, "Marc Abramowitz" <marca AT surveymonkey.com> wrote:
>>Output is:
>
>```
>marca@marca-mac:~/dev/git-repos/freetds$ src/tds/unittests/iconv_fread
>log.c:194:Starting log file for FreeTDS 0.92.dev.20130718
> on 2013-09-15 02:03:33 with debug flags 0x4fff.
>stream.c:108:Error: read_and_convert: tds_iconv returned errno 7
>stream.c:110:Error: read_and_convert: Gave up converting 3054 bytes due to
>error 7.
>stream.c:113:Troublesome bytes:
>...
>
>```
Is the test is trying to do the same as this?
marca@marca-mac:~/dev/git-repos/freetds$ head -c 4078
src/tds/unittests/iconv_fread.out | iconv -f UTF-8 -t ISO-8859-1 | wc -c
4077
marca@marca-mac:~/dev/git-repos/freetds$ head -c 4078
src/tds/unittests/iconv_fread.out | iconv -f UTF-8 -t ISO-8859-1 | hexdump
-C
00000000 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61
|aaaaaaaaaaaaaaaa|
*
00000fe0 61 61 61 61 61 61 61 61 61 61 61 61 90 |aaaaaaaaaaaa.|
00000fed
Is it basically to test that the sequence 0xC290 (UTF-8 for U+0090 control
character) is converted to 0x90 in ISO-8859-1?
It's curious that tds_iconv seems to fail (with errno 7 - what's that?)
when it's only 1024 bytes into the string; still in the middle of all the
'a' characters; it hasn't gotten to the special character yet it seems.
Marc
-
[freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/14/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Frediano Ziglio, 09/14/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/14/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/14/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Frediano Ziglio, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Frediano Ziglio, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Frediano Ziglio, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/16/2013
- Re: [freetds] One failing unit test (iconv_read) on git master on OS X, Marc Abramowitz, 09/18/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Marc Abramowitz, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Frediano Ziglio, 09/15/2013
-
Re: [freetds] One failing unit test (iconv_read) on git master on OS X,
Frediano Ziglio, 09/14/2013
Archive powered by MHonArc 2.6.24.