c++ - Risks of running on single byte character app on a MBCS OS -
i have mfc application character set "not set". risks associated running application on os has multi byte character set code page?
the "character set: not set" option defines neither _mbcs
nor _unicode
. means you're using *a series of functions. will return mbcs strings, when _mbcs
not defined.
if _mbcs
doesn't affect strings returned *a functions, do? maps <tchar.h>
tcs*
functions mbs*
versions, instead of str*
or wcs*
variants. e.g. without _mbcs
, _tcsrev
maps strrev
, not _mbsrev
.
therefore, may not able reverse multi-byte strings receive os, or edit them otherwise.
Comments
Post a Comment