Mercurial > libpst
annotate src/libstrfunc.h @ 142:2189a6b8134e
improve character set handling - don't try to convert utf-8 to single byte for fields that were not originally unicode.
if the conversion fails, leave the data in utf-8.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 23 Feb 2009 20:40:51 -0800 |
parents | 5e4d6faada34 |
children | 6954d315aaa8 |
rev | line source |
---|---|
132
5e4d6faada34
fix from Fridrich Strba for parallel make
Carl Byington <carl@five-ten-sg.com>
parents:
94
diff
changeset
|
1 #include "common.h" |
16 | 2 char * base64_encode(void *data, size_t size); |
94
997cf1373f9e
fix base64 encoding that could create long lines
Carl Byington <carl@five-ten-sg.com>
parents:
43
diff
changeset
|
3 char * base64_encode_multiple(void *data, size_t size, int *line_count); |
43 | 4 void hexdump(char *hbuf, int start, int stop, int ascii); |