search for: simple_utf8_encod

Displaying 3 results from an estimated 3 matches for "simple_utf8_encod".

Did you mean: simple_utf8_encode
2001 Jul 07
2
patch for title(?) segmentation fault
oggenc -b 128 -d 1985 -N 01 -t "Black Planet" -l "First and Last and Always" -a "Sisters of Mercy" track01.cdda.wav egs in free in simple_utf8_encode. I tracked it down to a mis-calculated buffer size for malloc. I've attached the patch that fixes it (for me:). The only problem I have with the rest of the code is figuring out how the terminating 0 (null, whatever:) gets into unicode, I can't see anywhere that sets it, so I'm supris...
2001 Sep 30
3
UTF-8 stuff
...+ * 3 : unknown encoding (but still converted, using '?') */ -typedef struct -{ - char* name; - int mapping[256]; -} charset_map; +void convert_set_charset(const char *charset); -charset_map *get_map(const char *encoding); -char *make_utf8_string(const unsigned short *unicode); -int simple_utf8_encode(const char *from, char **to, const char *encoding); -int utf8_encode(char *from, char **to, const char *encoding); +int convert_to_utf8(const char *from, char **to); +int convert_from_utf8(const char *from, char **to); diff -ru xiph.orig/vorbis-tools/oggenc/oggenc.c xiph/vorbis-tools/oggenc/oggenc...
2001 Aug 19
1
C++ style comment in vorbis-tools/oggenc/utf.8
...f8.c =================================================================== RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/utf8.c,v retrieving revision 1.7 diff -c -r1.7 utf8.c *** oggenc/utf8.c 2001/08/14 12:55:51 1.7 --- oggenc/utf8.c 2001/08/19 19:03:37 *************** *** 161,167 **** */ int simple_utf8_encode(const char *from, char **to, const char *encoding) { ! // can you always know this will be 16 bit? unsigned short *unicode; charset_map *map; int index = 0; --- 161,167 ---- */ int simple_utf8_encode(const char *from, char **to, const char *encoding) { ! /*...