X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fcharset.h;fp=src%2Fcharset.h;h=0000000000000000000000000000000000000000;hb=78652af29a2f39e626febd5f4213da57d3a13901;hp=c170e93785020b725a6a68f9efe615d0b71048f9;hpb=91214934fbcdfd363202a65c142194506604ff7b;p=projects%2Fchimara%2Fchimara.git diff --git a/src/charset.h b/src/charset.h deleted file mode 100644 index c170e93..0000000 --- a/src/charset.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef CHARSET_H -#define CHARSET_H - -#include - -#define PLACEHOLDER '?' -#define PLACEHOLDER_STRING "?" -/* Our placeholder character is '?'; other options are possible, like printing "0x7F" or something */ - -G_GNUC_INTERNAL gchar *convert_latin1_to_utf8(const gchar *s, const gsize len); -G_GNUC_INTERNAL gchar *convert_latin1_to_ucs4be_string(const gchar *s, const gsize len); -G_GNUC_INTERNAL gchar *convert_utf8_to_latin1(const gchar *s, gsize *bytes_written); -G_GNUC_INTERNAL gunichar *convert_utf8_to_ucs4(const gchar *s, glong *items_written); -G_GNUC_INTERNAL gchar *convert_ucs4_to_utf8(const gunichar *buf, const glong len); -G_GNUC_INTERNAL gchar *convert_ucs4_to_latin1_binary(const gunichar *buf, const glong len); -G_GNUC_INTERNAL gchar *convert_ucs4_to_ucs4be_string(const gunichar *buf, const glong len); - -#endif /* CHARSET_H */