Files
Marcin Jabłoński e3e520d154 [TELNET] Fix Unicode character printing (#7597)
CORE-18304

The included Telnet client does not support displaying messages with Unicode characters in them.
This is a problem, because even though localisation for the program was made for ReactOS,
it doesn't work properly.

- Make the `printm` function load and format messages using wide character APIs instead of the narrow ones.
- Add format specifiers to the resource files (this is necessary, as there are a lot of places, where narrow strings
  are used in the program, and passed as parameters to `printm`).
2025-01-16 18:24:04 +01:00

36 lines
608 B
C

#ifndef _TELNET_PCH_
#define _TELNET_PCH_
#include <stdarg.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include <winnls.h>
#define _INC_WINDOWS
#include <winsock.h>
#if defined(__BORLANDC__) && (__BORLANDC < 0x0500)
#include <mem.h>
#endif
#ifdef __BORLANDC__
#include <fstream.h>
#else
#include <fstream>
#endif
#include "src/tnconfig.h"
#include "src/tnmsg.h"
#include "src/tparser.h"
#include "src/ansiprsr.h"
#include "src/tmapldr.h"
#include "src/tnclass.h"
#include "src/tnmisc.h"
#include "src/tncon.h"
#endif /* _TELNET_PCH_ */