Having a problem which I think must have a simple solution, but cannot find it.
I want to use Javascript to set the name of a bookmark. Works perfectly, up until I try to set the name to a Japanese string, and then the name of the bookmark is replaced by periods.
Even if I try copying a Japanese bookmark within the same file, the name gets replaced with periods.
So, for example, if a child bookmark is Japanese and I want the parent to have the same name:
bkm.children[0].name = bkm.children[0].children[0].name
will happily copy the name as long as it isn't Japanese (among other characters I presume).