wchar_t *r, *pw; int len = strlen(ps)+1;  pw = r = (wchar_t*)malloc(sizeof(wchar_t)*len); if (bytes) *bytes = len * sizeof(wchar_t);  while (*ps) { if (*ps == '\n') *pw = (wchar_t)0x2028; else if (*ps == '\r') *pw = (wchar_t)0x2029;
char *s, *t; int len = uStrLen(u) + 1; t = s = (char*)malloc(len); while (*u) { if (*u == (wchar_t)0x2028) *t = '\n'; else if (*u == (wchar_t)0x2029) *t = '\r';
DLLEXPORT(wchar_t*) fakeUnicode(const char *ps, int *bytes){    wchar_t *r, *pw;    int len = strlen(ps)+1;    pw = r = (wchar_t*)malloc(sizeof(wchar_t)*len);    if (bytes)	*bytes = len * sizeof(wchar_t);    while (*ps) { 	if (*ps == '\n')	    *pw = (wchar_t)0x2028;	else if (*ps == '\r')	    *pw = (wchar_t)0x2029;	else	    *pw = (wchar_t)(unsigned char)*ps;	ps++; pw++;	}				     *pw = (wchar_t)0;	    return r;}