21#ifndef ENCODINGSPRIVATE_H
22#define ENCODINGSPRIVATE_H
70 GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data);
75 gchar **used_encoding, gboolean *has_bom, gboolean *partial);
Encoding conversion and Byte Order Mark (BOM) handling.
GeanyEncodingIndex
List of known and supported encodings.
gboolean encodings_convert_to_utf8_auto(gchar **buf, gsize *size, const gchar *forced_enc, gchar **used_encoding, gboolean *has_bom, gboolean *partial)
void encodings_encoding_store_cell_data_func(GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
void encodings_finalize(void)
GeanyEncoding encodings[GEANY_ENCODINGS_MAX]
GeanyEncodingIndex encodings_scan_unicode_bom(const gchar *string, gsize len, guint *bom_len)
GeanyEncodingIndex encodings_get_idx_from_charset(const gchar *charset)
gboolean encodings_encoding_store_get_iter(GtkTreeStore *store, GtkTreeIter *iter, gint enc)
struct GeanyEncoding GeanyEncoding
@ GEANY_ENCODING_GROUPS_MAX
void encodings_init(void)
gint encodings_encoding_store_get_encoding(GtkTreeStore *store, GtkTreeIter *iter)
gchar * encodings_to_string(const GeanyEncoding *enc)
gboolean encodings_is_unicode_charset(const gchar *string)
const GeanyEncoding * encodings_get_from_index(gint idx)
void encodings_select_radio_item(const gchar *charset)
GtkTreeStore * encodings_encoding_store_new(gboolean has_detect)
const GeanyEncoding * encodings_get_from_charset(const gchar *charset)
const gchar * encodings_get_charset(const GeanyEncoding *enc)