Joerg wrote:
On Tue, Dec 02, 2008 at 02:22:03AM +0000, corvid wrote:
I know that Jorge finds a charset selection dialog where the user has to know what to enter to be insufficiently user-friendly, but I don't know a nice alternative, and this can go in the dillo-dev archives for anyone who wants it.
You can get a list that is mostly exhaustive by calling "iconv -l". Note that the list is long and there's no portable way to do that directly in C.
An alternative might be to just list the normal encodings and provide a way to specify one directly.
I hadn't bothered to look at the list in Firefox because I thought it would certainly be eight miles -- sorry, kilometres -- long, but actually it's not so bad. A list that size could fit into dillo. I'll try making one that does as you suggest.