This discussion is archived
1 Reply Latest reply: Sep 25, 2011 6:24 AM by 890342 RSS

how to set a db path including chinese character?

890342 Newbie
Currently Being Moderated
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 :



all not working.

please help me.

Thank you in advance.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points