2003-08-23 14:59:31 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* charset.h: Determine a canonical name for the current locale's character encoding.
|
|
|
|
*****************************************************************************
|
2005-08-04 21:09:15 +02:00
|
|
|
* Copyright (C) 2003-2005 the VideoLAN team
|
2005-03-02 17:47:31 +01:00
|
|
|
* $Id$
|
2003-08-23 14:59:31 +02:00
|
|
|
*
|
|
|
|
* Author: Derk-Jan Hartman <thedj at users.sourceforge.net>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2004-01-25 19:17:08 +01:00
|
|
|
*
|
2003-08-23 14:59:31 +02:00
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2004-02-22 00:15:52 +01:00
|
|
|
# ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
# endif
|
|
|
|
|
2003-08-23 14:59:31 +02:00
|
|
|
VLC_EXPORT( vlc_bool_t, vlc_current_charset, ( char ** ) );
|
2005-08-03 21:01:44 +02:00
|
|
|
VLC_EXPORT( void, LocaleFree, ( const char * ) );
|
|
|
|
VLC_EXPORT( char *, FromLocale, ( const char * ) );
|
|
|
|
VLC_EXPORT( char *, ToLocale, ( const char * ) );
|
|
|
|
VLC_EXPORT( char *, EnsureUTF8, ( char * ) );
|
2005-10-02 10:53:14 +02:00
|
|
|
VLC_EXPORT( char *, FromUTF32, ( wchar_t * ) );
|
2005-08-05 21:25:38 +02:00
|
|
|
VLC_EXPORT( char *, __vlc_fix_readdir_charset, ( vlc_object_t *, const char * ) );
|
|
|
|
#define vlc_fix_readdir_charset(a,b) __vlc_fix_readdir_charset(VLC_OBJECT(a),b)
|
2004-02-22 00:15:52 +01:00
|
|
|
|
|
|
|
# ifdef __cplusplus
|
|
|
|
}
|
|
|
|
# endif
|