Just got a chance to take a look at this.<br><br>And whereas this is kinda cool, what I need is something where I can take a string that may or may not have special characters in it, pass it to this module/method/function, and have it return clean text (either non-special characters, or the best HTML representation of it).<br>
<br>Any thoughts on that?<br><br>--Alex<br><br><div class="gmail_quote">On Sat, May 19, 2012 at 2:13 PM, Robert Rothenberg <span dir="ltr"><<a href="mailto:robrwo@gmail.com" target="_blank">robrwo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Searching for "msword" on CPAN gives<br>
<br>
  <a href="http://search.cpan.org/%7Eamiri/MSWord-ToHTML-0.005/" target="_blank">http://search.cpan.org/~amiri/MSWord-ToHTML-0.005/</a><br>
<div><div class="h5"><br>
On 19/05/12 00:56 Alex Brelsfoard wrote:<br>
> Hi All,<br>
><br>
> I was wondering if I could get some help here.  I am looking for an existing<br>
> function/method/module that will properly convert all special characters<br>
> (like those from Microsoft Word: smart quotes, mdash, ellipses, bullet<br>
> points, etc.) to either a matching simpler character, or an HTML entity.<br>
><br>
> HTML::Entities does a close job, but it does not handle everything correctly.<br>
><br>
> I need to clean this data up for use in a google product feed (xml).<br>
><br>
> Here is an example of some text I am having trouble with:<br>
> ( the +'s are actually bullet points)<br>
> ====== begin ======<br>
> My doctor has recommended a dream specialist, and together we are trying to<br>
> figure out what these nightmares mean. Jump into Hidden Object action in<br>
> Doors of the Mind – Inner Mysteries.ADVANTAGES OF THE COMPLETE VERSION<br>
> :DOORS OF THE MIND: INNER MYSTERIES + Dark atmosphere+ Spooky<br>
> gameplay+ Explore a world of nightmares!<br>
> ======= end =======<br>
><br>
> And here is the output from using HTML::Entities:<br>
> ====== begin ======<br>
> My doctor has recommended a dream specialist, and together we are trying to<br>
> figure out what these nightmares mean. Jump into Hidden Object action in<br>
> Doors of the Mind &acirc;&#128;&#147; Inner Mysteries.ADVANTAGES OF THE<br>
> COMPLETE VERSION :DOORS OF THE MIND: INNER<br>
> MYSTERIES&Acirc;&nbsp;+&Acirc;&nbsp;Dark atmosphere+&Acirc;&nbsp;Spooky<br>
> gameplay+&Acirc;&nbsp;Explore a world of nightmares!<br>
> ======= end =======<br>
><br>
> Notice the extra &Acirc; all over the place.<br>
><br>
> Any help you can provide would be immensely helpful.<br>
><br>
> Thanks.<br>
> --Alex<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Edinburgh-pm mailing list<br>
> <a href="mailto:Edinburgh-pm@pm.org">Edinburgh-pm@pm.org</a><br>
> <a href="http://mail.pm.org/mailman/listinfo/edinburgh-pm" target="_blank">http://mail.pm.org/mailman/listinfo/edinburgh-pm</a><br>
<br>
<br>
</blockquote></div><br>