#include <sent/stddefs.h>
#include <windows.h>
#include <winnls.h>
#include <jlib.h>
Include dependency graph for charconv_win32.c:
Go to the source code of this file.
Defines | |
#define | UNICODE_BUFFER_SIZE 4096 |
Buffer length to use for unicode conversion. | |
Functions | |
boolean | charconv_win32_setup (char *fromcode, char *tocode, boolean *enable_conv) |
char * | charconv_win32 (char *instr, char *outstr, int maxoutlen) |
Variables | |
static boolean | euctosjis = FALSE |
TRUE if use libjcode for euc->sjis conv. | |
static boolean | only_euc_conv = FALSE |
Perform only euc->sjis. | |
static unsigned int | from_cp |
Source codepage. | |
static unsigned int | to_cp |
Target codepage. | |
static wchar_t | unibuf [UNICODE_BUFFER_SIZE] |
Local work area for unicode conversion. |
Conversion from Japanese-euc ("euc-jp") is optionally supported by the libjcode library.
Definition in file charconv_win32.c.
|
Setup charset conversion for win32.
Definition at line 67 of file charconv_win32.c. Referenced by j_printf_set_charconv(). |
|
Apply charset conversion to a string using win32 functions
Definition at line 203 of file charconv_win32.c. Referenced by charconv(). |