Download Pelles C here: http://www.pellesc.se
Quote from: Robert on January 23, 2026, 06:03:43 PMMy interest in your resurrection of the Pelles C Export addin is in the "Export to HTML" facility. I think it can handle Unicode identifiers and quotation mark embedded Unicode strings.
Quote from: Robert on January 23, 2026, 06:03:43 PMIf you are interested in developing a Unicode capable "Export to HTML" facility, you might find some help studying the BCX translated C codes of the example on the webpage
Quote from: TimoVJL on January 23, 2026, 05:43:50 PMHow that helps RTF coding ?
EDIT:Quote from: Robert on January 23, 2026, 06:03:43 PMUnfortunately, the RTFDEFS.H document referenced is not obviously available.How to Obtain the WinWord Converter SDK (GC1039)
// \fcharset, \cchs argument values
// some of these values may also be #defined in windows.h; here's the
// complete list
#define ANSI_CHARSET 0
#define DEFAULT_CHARSET 1
#define SYMBOL_CHARSET 2
#define INVALID_CHARSET 3 // nil value
#define MAC_CHARSET 77
#define SHIFTJIS_CHARSET 128 // CP 932: Japanese
#define HANGEUL_CHARSET 129 // CP 949: Korean
#define JOHAB_CHARSET 130
#define GB2312_CHARSET 134 // CP 936: PRC
#define CHINESEBIG5_CHARSET 136 // CP 950: Taiwan
#define GREEK_CHARSET 161
#define TURKISH_CHARSET 162
#define HEBREW_CHARSET 177
#define ARABIC_CHARSET 178
#define ARABICTRADITIONAL_CHARSET 179
#define ARABICUSER_CHARSET 180
#define HEBREWUSER_CHARSET 181
#define BALTIC_CHARSET 186
#define RUSSIAN_CHARSET 204
#define THAI_CHARSET 222
#define EASTEUROPE_CHARSET 238
#define PC437_CHARSET 254
#define OEM_CHARSET 255
Quote from: John Z on January 23, 2026, 12:59:59 PMAssuming the code comments are in the users default code page language then#include <windows.h>
#include <stdio.h>
int main() {
UINT user_codepage = GetACP(); // Retrieve the system default Windows ANSI code page
printf("The user's default Windows ANSI code page is: %u\n", user_codepage);
// Optional: Keep the console window open to view the output
printf("Press Enter to exit...");
getchar();
return 0;
}
or variation thereof can get the correct code page to encode in the output file(s).
Code snippet provided by Google 'AI? overview -however only the first line is relevant
John Z
Quote\fcharsetN Specifies the character set of a font in the font table. Values for N are defined by Windows header files, and in the file RTFDEFS.H accompanying this document.
Quote from: Robert on January 23, 2026, 06:03:43 PMUnfortunately, the RTFDEFS.H document referenced is not obviously available.How to Obtain the WinWord Converter SDK (GC1039)
#include <windows.h>
#include <stdio.h>
int main() {
UINT user_codepage = GetACP(); // Retrieve the system default Windows ANSI code page
printf("The user's default Windows ANSI code page is: %u\n", user_codepage);
// Optional: Keep the console window open to view the output
printf("Press Enter to exit...");
getchar();
return 0;
}
however only the first line is relevant 
Page created in 0.070 seconds with 15 queries.