I've got a script which exports Word documents to HTML. It works well for the most part but when there are checkboxes in the content they don't appear in the HTML version.

The word document definitely has different characters, because I can see (not literal characters, my ASCII-art version of the characters):

[X] Yes
[ ] No

In the original content.

When it gets converted to HTML, all I get, for both [X] and [ ] chars, is (hex) C2A0, which I believe is just "non-breaking space".

Is there anything I can do about this? I have the latest version of Win32::OLE as far as I can see, 0.1712, but that's five years old.

Is there a flag I can set, is it a Unicode thing, is there some other approach to this? Any ideas gratefully received.


In reply to Win32::OLE and Word checkbox characters by Cody Fendant

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.