|
a/src/utils/transcode.h |
|
b/src/utils/transcode.h |
|
... |
|
... |
34 |
extern bool transcode(const std::string &in, std::string &out,
|
34 |
extern bool transcode(const std::string &in, std::string &out,
|
35 |
const std::string &icode,
|
35 |
const std::string &icode,
|
36 |
const std::string &ocode,
|
36 |
const std::string &ocode,
|
37 |
int *ecnt = 0);
|
37 |
int *ecnt = 0);
|
38 |
|
38 |
|
|
|
39 |
#ifdef _WIN32
|
|
|
40 |
extern bool wchartoutf8(const wchar_t *in, std::string& out);
|
|
|
41 |
extern bool utf8towchar(const std::string& in, wchar_t *out, size_t obytescap);
|
|
|
42 |
#endif
|
|
|
43 |
|
39 |
#endif /* _TRANSCODE_H_INCLUDED_ */
|
44 |
#endif /* _TRANSCODE_H_INCLUDED_ */
|