Yes, you got it. but it is even worse..... do you know how do I get that weird bookmark title?
Please run following code, it will make first bookmark become 00 ending bookmark.
First you should have a bookmark encoding as C format.
PDDocdoc=AVDocGetPDDoc(AVAppGetActiveDoc());
PDBookmarkroot=PDDocGetBookmarkRoot(doc);
PDBookmarkfirst=PDBookmarkGetFirstChild(root);
ASTexttitle=ASTextNew();
PDBookmarkGetTitleASText(first,title);
PDBookmarkSetTitleASText(first,title);
ASTextDestroy(title);