diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:28:18 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:28:18 +0000 |
commit | 31d3a6408d045eadaff094d4c11bf017817743d7 (patch) | |
tree | 61f75240490677d57477fea63d6f771bf3d754d9 /attache/str_utils.h | |
parent | 31654bd814b4e5fdc1b68807e341c623d74f357d (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@4 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'attache/str_utils.h')
-rw-r--r-- | attache/str_utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/attache/str_utils.h b/attache/str_utils.h new file mode 100644 index 0000000..efa43a5 --- /dev/null +++ b/attache/str_utils.h @@ -0,0 +1,23 @@ +#ifndef _STR_UTILS_INC
+#define _STR_UTILS_INC
+
+void set_codepage();
+
+wchar_t *a2w(const char *as);
+char *w2a(const wchar_t *ws);
+
+char *w2u(const wchar_t *ws);
+wchar_t *u2w(const char *ws);
+
+TCHAR *u2t(const char *utfs);
+char *t2u(const TCHAR *ts);
+
+char *t2a(const TCHAR *ts);
+TCHAR *a2t(const char *as);
+
+char *u2a(const char *utfs);
+char *a2u(const char *as);
+
+
+#endif
+
|