1 /* $Id: icu_I18N.h,v 1.1 2007-04-30 13:56:52 marc Exp $
2 Copyright (c) 2006-2007, Index Data.
4 This file is part of Pazpar2.
6 Pazpar2 is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Pazpar2; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
30 //#include <unicode/utypes.h> /* Basic ICU data types */
31 #include <unicode/uchar.h> /* char names */
33 //#include <unicode/ustdio.h>
34 //#include <unicode/ucol.h>
35 //#include <unicode/ucnv.h> /* C Converter API */
36 //#include <unicode/ustring.h> /* some more string fcns*/
37 //#include <unicode/uloc.h>
38 //#include <unicode/ubrk.h>
39 //#include <unicode/unistr.h>
42 int icu_check_status (UErrorCode status);
44 UChar* icu_utf16_from_utf8(UChar *utf16,
49 UChar* icu_utf16_from_utf8n(UChar *utf16,
56 char* icu_utf16_to_utf8(char *utf8,
63 int32_t icu_utf16_casemap(UChar *dest16, int32_t dest16_cap,
64 const UChar *src16, int32_t src16_len,
65 const char *locale, char action);
67 char * icu_casemap(NMEM nmem, char *buf, size_t buf_cap,
68 size_t *dest8_len, const char *src8,
69 const char *locale, char action);