aports/testing/piler/0001-utf8_encode_char.patch
Noel Kuntze d8eb18cdc7 testing/piler: new aport
Open source email archiving solution with all the necessary features for your enterprise
2024-03-30 17:36:37 +00:00

11 lines
435 B
Diff

diff -ruN a/src/decoder.h b/src/decoder.h
--- a/src/decoder.h 2021-02-23 07:26:47.000000000 +0100
+++ b/src/decoder.h 2022-03-28 18:35:10.706474194 +0200
@@ -11,5 +11,6 @@
void decodeHTML(char *p, int utf8);
void decodeURL(char *p);
int utf8_encode(char *inbuf, int inbuflen, char *outbuf, int outbuflen, char *encoding);
+void utf8_encode_char(unsigned char c, unsigned char *buf, int buflen, int *len);
#endif /* _DECODER_H */