Hello all, about libiconv, could we consider to use it as a mandatory dependency? Here are several reasons why it would be a good thing:
1/ I think it can be found anyway on most Linux and Unix machines. As far as I know, it is part of POSIX (so all we should do is to take care of not use options from specific implementations, if any, as the GNU one, but the generic standard functions only)... 2/ With the new design of mrxvt I have in mind, this would enable to have a single generic logic, whatever locale you may use, as long as it is supported by their iconv implementation. If you have a look to the GNU implementation for instance, it has a fairly broad number of encodings: http://www.gnu.org/software/libiconv/ And mrxvt would just support all this as well! 3/ As a last resort, I could use again a compiler #ifdef check depending or not whether the configure found a libiconv on the computer. This way it could still compile without this. But I don't think this is a good solution as it let think that it may work also without iconv. But the reality is that currently our implementation is broken for most "common" encodings. Just have a look at encoding.c, and you will see that most encodings are processed the same way (rxvt_decode_dummy), which means "badly" decoded, simply (even the ISO-8859-X encodings, typical for most european languages, are in fact badly supported for the most part). Using obligatory libiconv will just fix all this in one single shot. Keeping separate alternatives will need people to try to make a decoding function for every encoding, which may never happen, and is at the end only "rewriting" libiconv after all... so what is the interest? So what is your opinion? Jehan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net