|
a/src/common/unacpp.h |
|
b/src/common/unacpp.h |
1 |
#ifndef _UNACPP_H_INCLUDED_
|
1 |
#ifndef _UNACPP_H_INCLUDED_
|
2 |
#define _UNACPP_H_INCLUDED_
|
2 |
#define _UNACPP_H_INCLUDED_
|
3 |
/* @(#$Id: unacpp.h,v 1.2 2006-01-05 16:37:26 dockes Exp $ (C) 2004 J.F.Dockes */
|
3 |
/* @(#$Id: unacpp.h,v 1.3 2006-01-06 13:18:17 dockes Exp $ (C) 2004 J.F.Dockes */
|
4 |
|
4 |
|
5 |
#include <string>
|
5 |
#include <string>
|
6 |
|
6 |
|
7 |
// A small wrapper for unac.c
|
7 |
// A small stringified wrapper for unac.c
|
8 |
extern bool unac_cpp(const std::string &in, std::string &out,
|
8 |
extern bool unacmaybefold(const std::string &in, std::string &out,
|
9 |
const char *encoding = "UTF-8");
|
9 |
const char *encoding, bool dofold);
|
10 |
extern bool unac_cpp_utf16be(const std::string &in, std::string &out);
|
|
|
11 |
|
|
|
12 |
#endif /* _UNACPP_H_INCLUDED_ */
|
10 |
#endif /* _UNACPP_H_INCLUDED_ */
|