mad_utf8.h

来自「这个程序实现了FLUTE协议」· C头文件 代码 · 共 38 行

H
38
字号
/* $Author: peltotal $ $Date: 2006/02/17 08:07:17 $ $Revision: 1.2 $ *//* *   MAD-FLUTELIB: Implementation of FLUTE protocol. *   Copyright (c) 2003-2006 TUT - Tampere University of Technology *   main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi * *   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. * *   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-1307  USA */#ifndef _MAD_UTF8_H_#define _MAD_UTF8_H_#include "flute_inc.h"/* * ISO-8859-1 MultiByte Char / UTF-8 Conversion Routines *//* UTF-8 string to ISO-8859-1 MultiByte string */int x_utf8s_to_iso_8859_1s(char *mbstr, const char *utf8str, size_t count);/* ISO-8859-1 MultiByte string to UTF-8 string */int x_iso_8859_1s_to_utf8s(char *utf8str, const char *mbstr, size_t count);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?