[libcroco-list] CR_AUTO ?



Hi,

I was trying to use

    cr_om_parser_simply_parse_file ((const guchar *) css_filename, CR_AUTO,
                                    &css_file_contents)

(hoping for autodetection of the CSS file's encoding), but it always returns
an error code. Reason is that
    cr_om_parser_simply_parse_file calls
    cr_parser_parse_file calls
    cr_tknzr_new_from_uri calls
    cr_input_new_from_uri calls
    cr_input_new_from_buf calls
    cr_enc_handler_get_instance
which doesn't know about the encoding!

Bruno



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]