Copying from MS word into RunRev 4.0

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Fri Sep 2 16:24:13 EDT 2011


...if you have control overt the Word environment, I think I'd look into enforcing straight quotes prior to export. It's an options/preferences setting and I seem to remember it being possible to set all quotes to straight, via a command - so that HTML export doesn't get corrupted.

Good luck!
Keith.. 
   
On 2 Sep 2011, at 21:15, Jonathan Lynch wrote:

> Hi Keith,
> I just tried doing this with the useunicode set to true, but the apostrophe
> was still absent.
> 
> On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke <
> keith.clarke at clarkeandclarke.co.uk> wrote:
> 
>> Jonathan, check that you have the useUnicode property set to true in your
>> handler, as it's clear that the code for curly quotes (2019) is way up above
>> the 127-255 range that numtochar will support without unicode enabled.
>> http://en.wikipedia.org/wiki/Quotation_mark_glyphs
>> 
>> I've not had to dig into unicode yet, so I don't know too much more, but
>> it's a recurring theme for community members, so the archives may be useful.
>> Best,
>> Keith..
>> 
>> On 2 Sep 2011, at 20:28, J. Landman Gay wrote:
>> 
>>> On 9/2/11 2:08 PM, Keith Clarke wrote:
>>>> I'm confused, how do you know the characters are missing until you
>>>> paste the clipboard contents somewhere within LC to render them and
>>>> see them?
>>> 
>>> The clipboardData is already a variable, so examining it to see what was
>> actually copied should show accurate info. But you do make a good point,
>> because looking at the variable contents has to put it into a field
>> somewhere, even if it's only in the variable watcher. It may be the field
>> rendering that's wrong instead of the clipboard content.
>>> 
>>> Jonathan, you could test that with something like this:
>>> 
>>> get the clipboardData["text"]
>>> put numToChar(<whatever Word uses>) is in it
>>> 
>>> If the message box shows true, then the characters are in there but the
>> field isn't rendering them. You can then do a replace looking for
>> numToChar(<whatever>) and replacing those with regular apostrophes.
>>> 
>>> There was a bug in the database about copying text from Word. It was
>> fixed and closed some time ago, but if the above doesn't work I think you
>> should enter another bug report about it.
>>> 
>>> --
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           |     http://www.hyperactivesw.com
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> Do all things with love
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list