cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
ccUTF8.h File Reference
#include "platform/CCPlatformMacros.h"
#include <vector>
Include dependency graph for ccUTF8.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cocos2d
 

Functions

CC_DLL int cc_wcslen (const unsigned short *str)
 
CC_DLL void cc_utf8_trim_ws (std::vector< unsigned short > *str)
 
CC_DLL bool isspace_unicode (unsigned short ch)
 
CC_DLL long cc_utf8_strlen (const char *p, int max)
 
CC_DLL unsigned int cc_utf8_find_last_not_char (std::vector< unsigned short > str, unsigned short c)
 
CC_DLL std::vector< unsigned short > cc_utf16_vec_from_utf16_str (const unsigned short *str)
 
CC_DLL unsigned short * cc_utf8_to_utf16 (const char *str_old, int length=-1, int *rUtf16Size=NULL)
 
CC_DLL char * cc_utf16_to_utf8 (const unsigned short *str, long len, long *items_read, long *items_written)
 cc_utf16_to_utf8: @str: a UTF-16 encoded string @len: the maximum length of @str to use. More...