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.
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.
I never needed to switch the charset, but I noticed that firefox also has a dialog to do so. When exactly is this needed and why doesn't automatic detection work properly? Is it faulty webserver configuration? Anyway, if it's useful and other browsers also offer this, why not include it? Cheers, Johannes
Johannes 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.
I never needed to switch the charset, but I noticed that firefox also has a dialog to do so. When exactly is this needed and why doesn't automatic detection work properly? Is it faulty webserver configuration?
People don't specify a charset, or put the wrong one. For me, it doesn't make much difference because it'll usually just be the quotation marks and dashes that don't show up properly, but I suspect it matters more for people using languages where the possible encodings are very different. bug#822 requested such a thing, giving http://www.ixbt.com as an example (which does not tell the browser that it's in windows-1251 encoding)
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. Joerg
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.
On Tue, Dec 02, 2008 at 04:50:06PM +0000, corvid wrote:
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.
You don't have to hard-code it -- read it on startup, it is not more than a mapping between user-visible name (hierachical?) and system string. That approach also has the advantage of making it easily tweakable for admins/packagers/users. Joerg
Joerg wrote:
On Tue, Dec 02, 2008 at 04:50:06PM +0000, corvid wrote:
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.
You don't have to hard-code it -- read it on startup, it is not more than a mapping between user-visible name (hierachical?) and system string. That approach also has the advantage of making it easily tweakable for admins/packagers/users.
You're saying a new file in .dillo/ ?
On Tue, Dec 02, 2008 at 07:12:45PM +0000, corvid wrote:
You don't have to hard-code it -- read it on startup, it is not more than a mapping between user-visible name (hierachical?) and system string. That approach also has the advantage of making it easily tweakable for admins/packagers/users.
You're saying a new file in .dillo/ ?
Global configuration file referenced in .dillorc, if you want to override the default: copy & adjust link. Joerg
participants (3)
-
corvid@lavabit.com
-
joerg.sonnenberger@web.de
-
Johannes.Hofmann@gmx.de