Use wchar.h header (and functions), wchar_t type, L"" prefixed strings and UNICODE codepoints (U+1D00 to U+1D7F are "phonetic extensions"). It's nice to see (ISO 9899, Anex D) that C supports multibyte charsets. For example:
Code:
#include <stdio.h>
#include <wchar.h>
#include <locale.h>
int main( void )
{
setlocale( LC_ALL, "" );
static const wchar_t msg[] = L"ˌɪntə(ː)ˈnæʃənl fəʊˈnɛtɪk ˈælfəbɪ";
wprintf( L"%ls\n", msg );
}
PS: This works in Linux. Windows is a different matter: since Windows uses WINDOWS-1252 single byte charset or UTF-16 (if you change to wmain), you'll need to use Win32 API mutibyte conversion funcions or console API, probably.