DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2279
Version: 1.3-current
Fix Version: 1.3-current (r7021)





Link: http://www.fltk.org/str.php?L2279
Version: 1.3-current
Fix Version: 1.3-current (r7021)
#include <stdlib.h>
#include <locale.h>
int main()
{
    wchar_t *buf;
    int len;
    char src[]="avAbrotherinhisneedvmmvvvkindlywordit";
    setlocale(LC_ALL, "en_US.ISO-8859-1");
    len = mbstowcs(0, src, 0)+1;
    buf = (wchar_t *)(malloc(len*sizeof(unsigned short)));
    if(buf){
        mbstowcs(buf, src, len);
        free((void *)buf);
        return 0;
    }
    return 1;
}
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to