1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Using gdb how to print multibyte or wide char data.

Discussion in 'C' started by harimagic, Oct 18, 2007.

  1. harimagic

    harimagic New Member

    I would like to know how to debug multi byte data or wide char data. If I have this (“Þìäï”) data in a file. Using a variable I am reading this data. While using gdb I want to print or display. But it was showing some other data. But when I run a.out it’s properly printing on console.

    I expect that may be the problem with charset or language set of gdb.

    If my guess was wrong Please let me know what to do?
  2. sibu

    sibu New Member

    Could you post the piece of code on which you are getting the error?

Share This Page