char* version of wcharPtr. Basically it appends a \0 to the input. The function uses malloc for strings of lengths 1024 and above.
The source string to convert to a C UTF-8 string
Note: Do not use this to call Windows ANSI functions! Always use wide-char functions on this operating system unless you want to deal with codepages.
string text = "Hello, world!"; linuxApi(charPtr!text);
See Implementation
char* version of wcharPtr. Basically it appends a \0 to the input. The function uses malloc for strings of lengths 1024 and above.