[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: iconv made easy
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: iconv made easy |
Date: |
Mon, 13 Dec 2004 22:24:25 +0100 |
User-agent: |
KMail/1.5 |
Simon Josefsson wrote:
> char *iconv_length (const char *from_codeset, const char *to_codeset,
> const char *input, size_t inlen, size_t *outlen);
>
> Or something like that. I have no use for this, so I'd rather avoid
> implementing something that wouldn't be tested immediately.
>
> Or is that interface not ever useful?
I think it's hardly ever useful, because it's nearly the same cost to
produce the iconv'ed output directly into a large enough memory buffer
(appeoach (a)).
> > Appended you find two alternative codes, taken from gettext (and tested
> > for 4 years), and another one, taken from my unfinished libunistring -
> > more powerful but untested.
>
> Is the first one LGPL?
>
> Is libunistring available somewhere?
I can make both LGPL without problems.
ftp://ftp.ilog.fr/pub/Users/haible/gnu/libunistring-0.0.tar.gz
> > Which API do you find worth pursuing?
>
> I haven't read them in detail yet. I'll try to read them...
Yes, please. I wait for your opinion.
Bruno
- [bug-gnulib] Re: iconv made easy, (continued)
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/13
- Re: [bug-gnulib] Re: iconv made easy,
Bruno Haible <=
[bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/13
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/15
- Re: [bug-gnulib] Re: iconv made easy, Paul Eggert, 2004/12/15
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/15
- Re: [bug-gnulib] Re: iconv made easy, Paul Eggert, 2004/12/15
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/15
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/25
- Re: [bug-gnulib] Re: iconv made easy, Paul Eggert, 2004/12/26
- [bug-gnulib] Re: iconv made easy, Simon Josefsson, 2004/12/26
- [bug-gnulib] Re: iconv made easy, Paul Eggert, 2004/12/27