Skip to main content
Known Participant
August 1, 2011
Question

How to insert chinese characters in a table use FDK?

  • August 1, 2011
  • 1 reply
  • 542 views

Hello~~

I am expecting to insert chinese characters in an XML file's table.

I'm using FDK7.2,  if i use:
F_ApiAddText(docId, &tRange.beg, "asdf");

The English letters "asdf" can be insert correctly in the right place,

But,  if insert chinese characters like this:
F_ApiAddText(docId, &tRange.beg, "人们");

No characters insert.

How can i solve this problem?


Please advise

Thanks

zhaopeng

    This topic has been closed for replies.

    1 reply

    Michael_Müller-Hillebrand
    Legend
    August 1, 2011

    Zhaopeng,

    Which encoding are you using for the Chinese characters? FrameMaker 7.2 does not support Unicode or UTF-8. I have not done this before, but I guess you need to supply the characters in Big5 resp. GBK encoding, see

    http://help.adobe.com/en_US/FrameMaker/8.0/chinese_korean.pdf

    [Ignore the 8.0 in the URL, the document talks about FrameMaker 7]

    You also may have to make sure the paragraph format at your text location uses a Chinese font before inserting characters.

    - Michael