Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

Cannot set bookmark name property to Japanese

$
0
0

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).


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>