wide character

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sowmyth
    New Member
    • Oct 2006
    • 19

    wide character

    Hi!
    can anybody tell me what is a wide character in c++?
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    A wide character is a character that is represented by more than 1 byte of data (most often represented by 2 bytes of data).

    I believe it differes from a multi-byte character in that in a multi-byte character the bytes of data are handled as 2 separate 8 bit entities where as in a wide character they data is treated a single 16 bit entity.

    But I don't really know.

    Comment

    • sowmyth
      New Member
      • Oct 2006
      • 19

      #3
      Originally posted by Banfa
      A wide character is a character that is represented by more than 1 byte of data (most often represented by 2 bytes of data).

      I believe it differes from a multi-byte character in that in a multi-byte character the bytes of data are handled as 2 separate 8 bit entities where as in a wide character they data is treated a single 16 bit entity.

      But I don't really know.
      thanks ...........

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        Wide characters are compatible with asian languages and other non ASCII character sets.

        Comment

        Working...