[xiph-commits] r10080 - trunk/vorbis-tools/share
conrad at svn.xiph.org
conrad at svn.xiph.org
Tue Sep 27 05:47:03 PDT 2005
Author: conrad
Date: 2005-09-27 05:47:00 -0700 (Tue, 27 Sep 2005)
New Revision: 10080
Modified:
trunk/vorbis-tools/share/charset.c
trunk/vorbis-tools/share/iconvert.c
trunk/vorbis-tools/share/utf8.c
Log:
applied UTF-8 patch from Gene Pavlovsky (closes ticket:685)
+ Tested by Gene on Russian comments, verified by me with Japanese comments
Modified: trunk/vorbis-tools/share/charset.c
===================================================================
--- trunk/vorbis-tools/share/charset.c 2005-09-27 07:09:47 UTC (rev 10079)
+++ trunk/vorbis-tools/share/charset.c 2005-09-27 12:47:00 UTC (rev 10080)
@@ -27,6 +27,10 @@
* 8-bit char, 16-bit short and 32-bit int.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
#include <stdlib.h>
Modified: trunk/vorbis-tools/share/iconvert.c
===================================================================
--- trunk/vorbis-tools/share/iconvert.c 2005-09-27 07:09:47 UTC (rev 10079)
+++ trunk/vorbis-tools/share/iconvert.c 2005-09-27 12:47:00 UTC (rev 10080)
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef HAVE_ICONV
#include <assert.h>
Modified: trunk/vorbis-tools/share/utf8.c
===================================================================
--- trunk/vorbis-tools/share/utf8.c 2005-09-27 07:09:47 UTC (rev 10079)
+++ trunk/vorbis-tools/share/utf8.c 2005-09-27 12:47:00 UTC (rev 10080)
@@ -21,6 +21,10 @@
* Convert a string between UTF-8 and the locale's charset.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
More information about the commits
mailing list