bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] the lib can be cliped?


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] the lib can be cliped?
Date: Thu, 1 Sep 2011 09:41:44 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Hi,

> the result lib maybe 1M, i think , is it can be cliped?
> do you know what i mean?

You think that libiconv contains unnecessary or too large tables.
That is not the case. Different encodings reuse the same tables where
possible, and the tables have been compressed as much as possible
(while still allowing fast access at runtime).

> typedef void(*cb_gbk2312_utf8)( char * in, int insize, char * out, int 
> outsize);

There is no such encoding as GBK2312. There are two encodings GB2312 (also
known as EUC-CN) and GBK (an extension of GB2312).

> typedef struct 
> {
>  char f[128];
>  char t[128];
>  cb_gbk2312_utf8 cb;
> } gbk2312_utf8_t;

You think that GB2312 or GBK is a single-byte encoding? That is not the case.

Bruno
-- 
In memoriam Nikolai Bryukhanov <http://en.wikipedia.org/wiki/Nikolai_Bryukhanov>



reply via email to

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