OSDN Git Service

2004-06-25 Andrew Cagney <cagney@gnu.org>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / iconv / README.TODO
1 1. newlib/iconv/ccs/iconv_mktbl Perl script should be upgraded. Currently 
2    this script can only generate Big Endian (Network Byte Order) .cct files.
3    This decreases conversion performance on little endian systems since iconv 
4    library needs to swap all bytes that it reads from loaded CCS table.
5    Something such -LE and -BE options should be added to 'iconv_mktbl' script.
6
7    Also, we can keep two .cct file versions - BE and LE (e.g., koi8_r-le.cct
8    and koi8_r-be.cct) and iconv library will automatically choose needed cct.
9
10    Or we can keep both LE and BE data in one .cct file.
11
12 2. http://www.dante.net/staff/konstantin/FreeBSD/iconv/ contains additional
13    CES and CCS converters (see iconv-extra-2.0.tar.gz and 
14    iconv-rfc1345-2.0.tar.gz). These extra converters should be added too.
15
16 3. Documentation should be created. It should contain:
17    1) How to compile iconv (configure script options description)
18    2) How to add new converter
19    3) Work principles.
20    It would be nice if iconv architecture will be described too.
21
22 4. CCS files loading (iconv/lib/loaddata.c). Now file is loaded into memory
23    for every iconv descriptor. For example, if one use two iconv descriptors
24    for UTF8->KOI8-R and UTF-16->KOI8-R conversions, koi8_r.cct file will
25    be loaded twice. To save memory, we should load each .cct only once 
26    (if possible).
27
28                                              Artem B. Bityuckiy,
29                                              SoftMine Corporation,
30                                              <abitytsky@softminecorp.com>,
31                                              <dedekind@mail.ru>,
32                                              Jan, 2004.