Displaying 3 results from an estimated 3 matches for "charset_map".
2001 Aug 19
1
C++ style comment in vorbis-tools/oggenc/utf.8
....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)
{
! /* can you always know this will be 16 bit? */
unsigned short *unicode;
charset_map *map;
int index = 0;
--- >8 ----
List archive...
2007 Feb 22
4
Ferret progress update
Hi folks,
Just thought I better let you all know that I''m still working on the
next release of Ferret. I''ve been working the last 7 days doing
nothing but Ferret development. The last iteration generated a diff of
almost 5000 lines so there are some pretty major changes. Most people
won''t notice these changes however as the API remains unchanged. But
if you were having
2001 Sep 30
3
UTF-8 stuff
...0 : data was converted exactly
+ * 1 : valid data was converted approximately (using '?')
+ * 2 : input was invalid (but still converted, using '#')
+ * 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 con...