need help regarding implementing MULTIBYTE CHARACTERS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Munch
    New Member
    • Dec 2006
    • 3

    need help regarding implementing MULTIBYTE CHARACTERS

    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(incl uding simple functions like converting strings in to bytes and arrays)
    while explaning please take me as a novice here n explain thoroughly.
Working...