/usr/include/osl/misc/iconvConvert.h is in libosl-dev 0.6.0-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /* iconvConvert.h
*/
#ifndef OSL_ICONVCONVERT_H
#define OSL_ICONVCONVERT_H
#include <string>
namespace osl
{
namespace misc
{
// Since IconvConvert uses iconv, this does not work on Windows.
// If you just want to use eucToLang, use osl/misc/eucToLang.h instead.
struct IconvConvert
{
static std::string eucToLang(const std::string& src);
static std::string convert(const std::string& fromcode,
const std::string& tocode,
const std::string& src);
static std::string langToIconvCode(const std::string& lang);
private:
struct IconvCD;
static std::string convert(IconvCD& cd,
const std::string& src);
};
}
using misc::IconvConvert;
}
#endif /* OSL_ICONVCONVERT_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|