]> git.sesse.net Git - vlc/blob - include/charset.h
mkv.cpp: add some debugging messages for the users and tests for unsupported tracks
[vlc] / include / charset.h
1 /*****************************************************************************
2  * charset.h: Determine a canonical name for the current locale's character encoding.
3  *****************************************************************************
4  * Copyright (C) 2003-2005 the VideoLAN team
5  * $Id$
6  *
7  * Author: Derk-Jan Hartman <thedj at users.sourceforge.net>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #ifndef __VLC_CHARSET_H
25 #define __VLC_CHARSET_H 1
26
27 # ifdef __cplusplus
28 extern "C" {
29 # endif
30
31 VLC_EXPORT( vlc_bool_t, vlc_current_charset, ( char ** ) );
32 VLC_EXPORT( void, LocaleFree, ( const char * ) );
33 VLC_EXPORT( char *, FromLocale, ( const char * ) );
34 VLC_EXPORT( char *, ToLocale, ( const char * ) );
35 VLC_EXPORT( char *, EnsureUTF8, ( char * ) );
36 VLC_EXPORT( char *, FromUTF32, ( const wchar_t * ) );
37 VLC_EXPORT( char *, __vlc_fix_readdir_charset, ( vlc_object_t *, const char * ) );
38 #define vlc_fix_readdir_charset(a,b) __vlc_fix_readdir_charset(VLC_OBJECT(a),b)
39
40 # ifdef __cplusplus
41 }
42 # endif
43
44 #endif