|
||||
File indexing completed on 2025-01-18 10:13:16
0001 /* Character set conversion handler type. 0002 Copyright (C) 2001-2007, 2009-2024 Free Software Foundation, Inc. 0003 Written by Bruno Haible. 0004 0005 This file is free software: you can redistribute it and/or modify 0006 it under the terms of the GNU Lesser General Public License as 0007 published by the Free Software Foundation; either version 2.1 of the 0008 License, or (at your option) any later version. 0009 0010 This file is distributed in the hope that it will be useful, 0011 but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 GNU Lesser General Public License for more details. 0014 0015 You should have received a copy of the GNU Lesser General Public License 0016 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 0017 0018 #ifndef _ICONVEH_H 0019 #define _ICONVEH_H 0020 0021 0022 #ifdef __cplusplus 0023 extern "C" { 0024 #endif 0025 0026 0027 /* Handling of unconvertible characters. */ 0028 enum iconv_ilseq_handler 0029 { 0030 iconveh_error, /* return and set errno = EILSEQ */ 0031 iconveh_question_mark, /* use one '?' per unconvertible character */ 0032 iconveh_escape_sequence, /* use escape sequence \uxxxx or \Uxxxxxxxx */ 0033 iconveh_replacement_character /* use one U+FFFD per unconvertible character 0034 if that fits in the target encoding, 0035 otherwise one '?' */ 0036 }; 0037 0038 0039 #ifdef __cplusplus 0040 } 0041 #endif 0042 0043 0044 #endif /* _ICONVEH_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |