Here's a patch to fix some bugs in my code, plus a header file I probably forget to send in before. * Missing header file charset.h. It's not needed outside vorbis-tools/share, so I think it can live there. * There was a minor bug in the UTF-8 decoder utf8_mbtowc(). * I've added some more tests in charset_test.c in an attempt to convince myself that there aren't any more bugs. * I've got rid of min from struct charset because the minimum is always 1 in practice. Edmund <HR NOSHADE> <UL> <LI>text/plain attachment: diff </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: diff Type: application/octet-stream Size: 4839 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20011018/112771da/diff-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: charset.h Type: application/octet-stream Size: 2955 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20011018/112771da/charset-0001.obj
On Thu 18 Oct 2001 21:49:15, Edmund GRIMLEY EVANS <edmundo@rano.org> wrote:> * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License as published byWhy not BSD, I wonder... I'm certainly not going to use this viral code for UTF8 conversions. As this UTF8 conversion seems to require quite a lot of code, I guess a lot of people (who also won't even consider GPL) will just go on creating broken but easy ASCIIZ implementations. I just did, actually. Matthijs --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.