swig/Examples/test-suite/li_std_wstring.h
William S Fulton ed42422d1c Add support for wchar_t * and std::wstring Unicode strings on Linux
Initial contributions for Linux provided in issue #1233, modified to work
on both Windows and Linux. Dual support is possible by detecting
the sizeof wchar_t which is different on each of these systems.
2022-05-02 21:08:19 +01:00

5 lines
No EOL
299 B
C

// This file has a BOM set to UTF-8, which is one way for Visual C++ to correctly interpet these strings
// Alternatively, the /utf-8 command line option could be used
#define JP_WSTRING L"JP: 日本語"
#define DE_WSTRING L"DE: Kröpeliner Straße"
#define RU_WSTRING L"RU: Война и мир"