Download Pelles C here: http://www.pellesc.se
#include <windows.h>
#include <stdio.h>
static int OrigCodePage;
static const char* σκατ;
static const char* δυσκατανοήτων;
int main(int argc, char* argv[])
{
OrigCodePage = GetConsoleOutputCP();
SetConsoleOutputCP(65001);
σκατ = "σκατ doo, be, shoo, bop, ooh, dee, doo, sha-bam";
δυσκατανοήτων = "δυσκατανοήτων difficult to understand";
printf("%s%s%s\n", σκατ, " ", δυσκατανοήτων);
_getch();
SetConsoleOutputCP(OrigCodePage);
return 1;
}
#include <windows.h>
#include <stdio.h>
static int OrigCodePage;
static const char* УКБФ;
static const char* ДХУКБФБНПЎФЩН;
int main(int argc, char* argv[])
{
OrigCodePage = GetConsoleOutputCP();
SetConsoleOutputCP(65001);
УКБФ = "УКБФ doo, be, shoo, bop, ooh, dee, doo, sha-bam";
ДХУКБФБНПЎФЩН = "ДХУКБФБНПЎФЩН difficult to understand";
printf("%s%s%s\n", УКБФ, " ", ДХУКБФБНПЎФЩН);
_getch();
SetConsoleOutputCP(OrigCodePage);
return 1;
}
HelloBug.c(8): warning #2223: Unable to convert character '\u0421' to 'ANSI'; using default character.pFile 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Value
0000010F 3F 3F 3F 3F 3F 20 3F 3F 3F 3F 3F 21 0A 00 48 65 ????? ?????!..He
0000011F 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0A 00 llo, world!..
msvcHelloBug.c(8): warning C4566: character represented by universal-character-name '\u0421' cannot be represented in the current code page (1252)pFile 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Value
000001CC 48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0A 00 00 Hello, world!...
000001DC 3F 3F 3F 3F 3F 20 3F 3F 3F 3F 3F 21 0A 00 ????? ?????!..
Clang-clpFile 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Value
00000121 48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 00 D0 A1 Hello, world!.С
00000131 D0 B0 D0 BB D0 BE D0 BC 20 D2 B6 D0 B0 D2 B3 D0 алом ҶаҳÐ
00000141 BE D0 BD 21 00 ¾Ð½!.
Quote from: TimoVJL on January 16, 2026, 06:34:08 PMzlib 1.3.1 project with missing header file, that dependecies forgot.
zlib 1.3.1 Release Notes

#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
printf("Салом Ҷаҳон!\n");
return 0;
}
#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
printf("????? ?????!!\n");
return 0;
}
Quote from: John Z on January 16, 2026, 11:45:34 AMHi Robert,
My apologizes, I didn't check that the project zip was complete. I updated the post with a project zip that includes the libs.
I'll look further into it (UTF-8) with the link you provided.
Hopefully good memories for you
John Z
#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
return 0;
}
#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
printf("Салом Ҷаҳон!\n");
return 0;
}
#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
printf("????? ?????!!\n");
return 0;
}
Page created in 0.053 seconds with 15 queries.