diff Plugins/General/scrobbler/tags/include/unicode.h @ 688:cc1969408403 trunk

[svn] - add scrobbler support
author nenolod
date Sat, 25 Feb 2006 12:11:20 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/General/scrobbler/tags/include/unicode.h	Sat Feb 25 12:11:20 2006 -0800
@@ -0,0 +1,29 @@
+/*
+ *   libmetatag - A media file tag-reader library
+ *   Copyright (C) 2003, 2004  Pipian
+ *
+ *   This library is free software; you can redistribute it and/or
+ *   modify it under the terms of the GNU Lesser General Public
+ *   License as published by the Free Software Foundation; either
+ *   version 2.1 of the License, or (at your option) any later version.
+ *
+ *   This library is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *   Lesser General Public License for more details.
+ *
+ *   You should have received a copy of the GNU Lesser General Public
+ *   License along with this library; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ */
+
+#ifndef UNICODE_H
+#define UNICODE_H 1
+wchar_t *utf8_to_wchar(unsigned char *, size_t);
+unsigned char *wchar_to_utf8(wchar_t *, size_t);
+void iso88591_to_utf8(unsigned char *, size_t, unsigned char **);
+void utf16bom_to_utf8(unsigned char *, size_t, unsigned char **);
+void utf16be_to_utf8(unsigned char *, size_t, unsigned char **);
+void utf16le_to_utf8(unsigned char *, size_t, unsigned char **);
+#endif