1 Reply Latest reply: Sep 25, 2011 8:24 AM by 890342 RSS

    how to set a db path including chinese character?

    890342
      I used the bdb very well, but I found today c++ ENV API add_data_dir and set_data_dir have problem when the db path including chinese character.

      I noticed the help file said, it will be interpreted as a UTF-8 string, but I tried lots of time , still not working.

      for example,

      the db path is "c:\a1工",

      the code :
      m_pEnv->set_data_dir("c:\\a1工");

      m_pEnv->set_data_dir("c:\\a1工");

      m_pEnv->set_data_dir("c:\\a1工");

      all not working.

      please help me.

      Thank you in advance.