Skip to main content
Participating Frequently
February 17, 2009
Question

Representation of DEGREE SIGN character (°)

  • February 17, 2009
  • 4 replies
  • 577 views
Hello,

I've been working on some plugin for FrameMaker and recently I encountered this: when I call F_ApiGetTextForRange(..., FTI_String | ...) on paragraph which contains the degree sign (°), let's say there is



then when I get this FTI_String, there are three bytes: the first one is 0x32, which is '2', that's ok, but then there is 0xC5 and 0xE3, which seem to constitute ° together, but why? ° is 0xB0 Unicode, I can't see why FrameMaker returns me two bytes for this character and why THESE bytes. It causes me some trouble and I'd like whether this problem is documented somewhere and if there is a list of such characters represented in a special way...

Thank you very much.
    This topic has been closed for replies.

    4 replies

    Inspiring
    February 18, 2009
    Stan,

    Your FrameMaker version is two bug-fix updates behind:

    http://www.adobe.com/support/downloads/product.jsp?product=22&platform=Windows

    - Michael
    February 17, 2009
    It's probably a result of FM's character mapping (which is different between FM7 and FM8, of course). Here's a knowledgebase article to start with:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=322964&sliceId=1

    If you haven't yet done so, you might also try posting on the Frame developers list:
    http://groups.yahoo.com/group/frame_dev/
    Participating Frequently
    February 17, 2009
    I use 7.2b128 and I can't find out what version was used to create that file but most probably it was the same version...
    February 17, 2009
    Which specific version of FM are you using, the "pxxx" numbers from Help > About. Also, were the files that you are testing created in the exact same version of FM, or are they from other (previous) versions.