Austech
Austech

Reputation: 1

Set character set to multi byte by using code

Is there a way to set the character set to multi byte in code. By that I mean without going into the properties of the compiler and setting it. I mean it by, well...in code. :p

Upvotes: 0

Views: 348

Answers (2)

John Dibling
John Dibling

Reputation: 101456

There are #defines that control how things are compiled:

#define _MBCS

Upvotes: 0

Marty Neal
Marty Neal

Reputation: 9543

look at wcstombs() or perhaps WideCharToMultiByte()

Upvotes: 1

Related Questions