BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB Reference

unicode.h File Reference

Provides Unicode conversion for Unicode OSes. More...

Go to the source code of this file.

Macros

#define PJ_DECL_UNICODE_TEMP_BUF(var, size)
#define PJ_STRING_TO_NATIVE(s, buf, max)   ((char*)s)
#define PJ_DECL_ANSI_TEMP_BUF(buf, size)
#define PJ_NATIVE_TO_STRING(cs, buf, max)   ((char*)(const char*)cs)

Functions

wchar_t * pj_ansi_to_unicode (const char *str, pj_size_t len, wchar_t *wbuf, pj_size_t wbuf_count)
char * pj_unicode_to_ansi (const wchar_t *wstr, pj_size_t len, char *buf, pj_size_t buf_size)

Detailed Description

Provides Unicode conversion for Unicode OSes.

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.