enhanced qse_getnwifcfg() for linux.

added qse_mbshextobin(), qse_wcshextobin()
This commit is contained in:
2014-08-30 05:40:57 +00:00
parent 477dc278c2
commit 46f13c54b3
14 changed files with 554 additions and 107 deletions

View File

@ -2,6 +2,7 @@
#include "sed00.h"
#include <qse/cmn/mbwc.h>
#include <qse/cmn/fmt.h>
#include <locale.h>
#if defined(_WIN32)
@ -20,7 +21,8 @@ void init_sed_sample_locale (void)
}
else
{
sprintf (locale, ".%u", (unsigned int)codepage);
qse_fmtuintmaxtombs (locale, QSE_COUNTOF(locale),
codepage, 10, -1, QSE_MT('\0'), QSE_MT("."));
setlocale (LC_ALL, locale);
qse_setdflcmgrbyid (QSE_CMGR_SLMB);
}