By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,445 Members | 1,329 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,445 IT Pros & Developers. It's quick & easy.

need help regarding implementing MULTIBYTE CHARACTERS

P: 3
my C program deals with single byte characters but now i want to fetch multibyte data stored in the datbase so what all changes i need to make to the code so that it handles multibyte data as well.

i know about wide characters and convertion from wide to multibyte.but m not sure of where to start from.
what all header files to include?
do i need to change locale type or include some codepage and if yes how to do all these?

I think I need to change all char* types to wchar_t* types...is there some thing more to change...
if possible can any one provide me some code snippet handling multibyte characters(including simple functions like converting strings in to bytes and arrays)
while explaning please take me as a novice here n explain thoroughly.
Jan 2 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.