/usr/include/osl/misc/sjis2euc.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 | /* sjis2euc.h
*/
#ifndef OSL_SJIS2EUC_H
#define OSL_SJIS2EUC_H
#include <string>
namespace osl
{
namespace misc
{
/**
* Convert character encoding from Shift_JIS to EUC-JP.
* This converter is simple enough to be applied to Shogi records.
* It may not completely implement the conversion algorithm.
*/
std::string sjis2euc(const std::string& str);
void sjis2euc(unsigned char& c1, unsigned char& c2);
}
}
#endif /* OSL_SJIS2EUC_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|