7 #ifndef __gammu_unicode_h 8 #define __gammu_unicode_h 64 void EncodeUnicode(
unsigned char *dest,
const char *src,
size_t len);
133 unsigned char *
mywstrstr(
unsigned const char *haystack,
134 unsigned const char *needle);
155 void DecodeUTF8(
unsigned char *dest,
const char *src,
size_t len);
char * DecodeUnicodeConsole(const unsigned char *src)
char * DecodeUnicodeString(const unsigned char *src)
void CopyUnicodeString(unsigned char *Dest, const unsigned char *Source)
gboolean EncodeUTF8QuotedPrintable(char *dest, const unsigned char *src)
int DecodeWithUTF8Alphabet(const unsigned char *src, wchar_t *dest, size_t len)
gboolean mywstrncasecmp(unsigned const char *a, unsigned const char *b, int num)
size_t UnicodeLength(const unsigned char *str)
void EncodeHexUnicode(char *dest, const unsigned char *src, size_t len)
gboolean DecodeHexUnicode(unsigned char *dest, const char *src, size_t len)
int EncodeWithUnicodeAlphabet(const unsigned char *value, wchar_t *dest)
void DecodeUTF8QuotedPrintable(unsigned char *dest, const char *src, size_t len)
void EncodeUnicode(unsigned char *dest, const char *src, size_t len)
void DecodeUTF8(unsigned char *dest, const char *src, size_t len)
gboolean mywstrncmp(unsigned const char *a, unsigned const char *b, int num)
unsigned char * mywstrstr(unsigned const char *haystack, unsigned const char *needle)
gboolean DecodeHexBin(unsigned char *dest, const unsigned char *src, size_t len)
void DecodeUnicode(const unsigned char *src, char *dest)
gboolean EncodeUTF8(char *dest, const unsigned char *src)
void ReadUnicodeFile(unsigned char *Dest, const unsigned char *Source)
int EncodeWithUTF8Alphabet(unsigned long src, unsigned char *ret)
int DecodeWithUnicodeAlphabet(wchar_t value, unsigned char *dest)