ELinks 0.18.0
|
How to format an FTP directory listing in HTML. More...
Data Fields | |
int | libc_codepage |
Codepage used by C library functions such as strftime(). | |
int | colorize_dir |
Nonzero if directories should be displayed in a different color. | |
char | dircolor [8] |
The color of directories, in "#rrggbb" format. | |
How to format an FTP directory listing in HTML.
int ftp_dir_html_format::colorize_dir |
Nonzero if directories should be displayed in a different color.
From the document.browse.links.color_dirs option.
char ftp_dir_html_format::dircolor[8] |
The color of directories, in "#rrggbb" format.
This is initialized and used only if colorize_dir is nonzero.
int ftp_dir_html_format::libc_codepage |
Codepage used by C library functions such as strftime().
If the FTP server sends non-ASCII bytes in file names or such, ELinks normally passes them straight through to the generated HTML, which will eventually be parsed using the codepage specified in the document.codepage.assume option. However, when ELinks itself generates strings with strftime(), it turns non-ASCII bytes into entity references based on libc_codepage, to make sure they become the right characters again.