Re: TextArea MS Word

2002-09-17 Thread Jochem van Dieten

Quoting Randell B Adkins [EMAIL PROTECTED]:
 
 But if Pasted from MS Word, it transforms the apostrophe into a 
 little square box.

A little square box usually means a charset problem. If you have a Word 
document that gives you this problem, put it up somewhere and I will 
test it in a unicode setup.

Jochem
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea MS Word

2002-09-17 Thread Gyrus

- Original Message -
From: Randell B Adkins [EMAIL PROTECTED]
 With the TEXTAREA if I manually type the apostrophes, commas, and
 quotes, then it is retained when saving to the database.

 But if Pasted from MS Word, it transforms the apostrophe into a
 little square box.


I guess it's cos of the 'smart quotes' in Word, i.e. quotes and apostrophes
that look like traditional print quotes and apostrophes - a tiny ball with a
curved tail - instead of the monotype-type things with just tiny vertical
lines. The latter are part of the standard ASCII character set, the former
aren't - I think.

This may not be the correct technical explanation, but it's a good ball park
for understanding why you get the little boxes when pasting in from Word.
Here's some options:

- Find the correct character codes for the 'smart quotes' and replace them
with the correct escape codes - or plain ASCII quotes - when processing the
form server-side.

- Try updating the textarea contents client-side with JavaScript along
similar lines (not tried this before, but I assume it's feasible). You'd
either run the JS from an onchange event handler on the textarea, or have a
'Tidy' button to trigger it in the form.

- Go with a WYSIWYG solution like soEdit.

HTH,

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea MS Word

2002-09-17 Thread Mark Stephenson - Evolution Internet

I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
source code and have a play

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited.  If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.




-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 15:00
To: CF-Talk
Subject: TextArea  MS Word


Here is a quick question:

Using MS Word 2000 or even 97, copying information from a document
and pasting it into a TEXTAREA box will lose the formatting such as
apostrophes.

I am not concerned with the BOLD or Italicize but the apostrophes,
commas, and quotes I am concerned about.

With the TEXTAREA if I manually type the apostrophes, commas, and
quotes, then it is retained when saving to the database.

But if Pasted from MS Word, it transforms the apostrophe into a
little square box.

Any suggestions on why this occurs? We are looking at ActiveEdit
or soEditorLite to handle this but baffles me why I can manually
type it and it is retained verses pasting it into the field and then
it is converted.

TIA!

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea MS Word

2002-09-17 Thread Janine Jakim

We have tried lots of fonts etc for the same problem (we use activepdf)
We have found the only solution is to have the person type the information
in Notepad(PC) or Simpletext(Mac).   I worked extensively with the support
from Activepdf on this problem and couldn't come up with a solution.
One work about-if the user wants to use some word features such as spell
check (warning: this will drive some folks nuts) is to type it in Notepad
first then paste in Word. It will keep the apostrophes intact. (assuming you
don't type any new ones)
Wish I had a better answer to give...

-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 10:00 AM
To: CF-Talk
Subject: TextArea  MS Word


Here is a quick question:

Using MS Word 2000 or even 97, copying information from a document
and pasting it into a TEXTAREA box will lose the formatting such as
apostrophes.

I am not concerned with the BOLD or Italicize but the apostrophes,
commas, and quotes I am concerned about.

With the TEXTAREA if I manually type the apostrophes, commas, and 
quotes, then it is retained when saving to the database.

But if Pasted from MS Word, it transforms the apostrophe into a 
little square box.

Any suggestions on why this occurs? We are looking at ActiveEdit
or soEditorLite to handle this but baffles me why I can manually 
type it and it is retained verses pasting it into the field and then
it is converted.

TIA!

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



soEditor was RE: TextArea MS Word

2002-09-17 Thread S . Isaac Dealey

Out of curiosity ( I'm going to be implementing it soon ), what minor
changes?

 I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
 source code and have a play

 Mark Stephenson
 New Media Director
 Evolution Internet
 T: 0870 757 1631
 F: 0870 757 1632
 W: www.evolutioninternet.co.uk
 E:
[EMAIL PROTECTED]

Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea MS Word [hail unicode]

2002-09-17 Thread Jochem van Dieten

Randell B Adkins wrote:
 
 Using MS Word 2000 or even 97, copying information from a document
 and pasting it into a TEXTAREA box will lose the formatting such as
 apostrophes.
 
 I am not concerned with the BOLD or Italicize but the apostrophes,
 commas, and quotes I am concerned about.
 
 With the TEXTAREA if I manually type the apostrophes, commas, and 
 quotes, then it is retained when saving to the database.
 
 But if Pasted from MS Word, it transforms the apostrophe into a 
 little square box.

Tested with a Word document from Randell Adkins on a unicode enabled 
setup and it worked fine. Hail unicode. Feel free to do your own tests 
at http://130.161.67.253:8500/www/index.cfm (if down, try again later, 
it is not a production machine).


 Any suggestions on why this occurs? We are looking at ActiveEdit
 or soEditorLite to handle this but baffles me why I can manually 
 type it and it is retained verses pasting it into the field and then
 it is converted.

If they have a version for CF MX that can do Unicode you should be fine.

BTW, probably unicode is not strictly necessary. You could also go 
search for another charset that has everything you need, but I doubt 
that is worth it.

Jochem

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: soEditor was RE: TextArea MS Word

2002-09-17 Thread Mark Stephenson - Evolution Internet

Flash!!!  It currently doesn't support flash, although if you hand code it
and use full paths you can get the flash to run on the page.

That and I used my own Image Manager tool.

There are one or two other issues that can be resolved pretty easily, see
the soeditor forum.

Layout control is quite good, I have used it on 3 apps, two internal and
http://www.cfmevolution.co.uk/devcenter/spinners/

Which is still under construction.

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited.  If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.




-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 20:18
To: CF-Talk
Subject: soEditor was RE: TextArea  MS Word


Out of curiosity ( I'm going to be implementing it soon ), what minor
changes?

 I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
 source code and have a play

 Mark Stephenson
 New Media Director
 Evolution Internet
 T: 0870 757 1631
 F: 0870 757 1632
 W: www.evolutioninternet.co.uk
 E:
[EMAIL PROTECTED]

Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: soEditor was RE: TextArea MS Word

2002-09-17 Thread S . Isaac Dealey

You mean placing Flash movies within the content area? ...

I'm not real certain exactly how I'm going to implement it as of yet -- my
cms has a preview feature which allows you to preview a page if you have
it open in the content editor, but when editing smaller bits of content (
menus, news articles which might be a subclass of Text instead of being a
subclass of Page for various reasons ), much of the formatting may depend
heavily on elements of the page which would be unknown at the level at which
the content is being edited, so previewing a menu for instance, might mean
nothing without knowing what style sheet or other formatting elements might
apply to the page, since the menu might be included in many different pages
with many different layouts and style definitions...

But now I'm rambling and probably not making a whole lot of sense... So...

I'm not real sure how I plan to implement it at this point... I'd like to
implement it in a way that's inclusive of the #coldfusionvariable# macro
method of embedding these smaller content items within pages and other
containers, so I guess I'll be spending some time on those forums. :) It's
good to know that you were able to use your own Image management tool
without much difficulty, as I may be trying to do much the same...

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

 Flash!!!  It currently doesn't support flash, although if
 you hand code it
 and use full paths you can get the flash to run on the
 page.

 That and I used my own Image Manager tool.

 There are one or two other issues that can be resolved
 pretty easily, see
 the soeditor forum.

 Layout control is quite good, I have used it on 3 apps,
 two internal and
 http://www.cfmevolution.co.uk/devcenter/spinners/

 Which is still under construction.

 Mark Stephenson
 New Media Director
 Evolution Internet
 T: 0870 757 1631
 F: 0870 757 1632
 W: www.evolutioninternet.co.uk
 E: [EMAIL PROTECTED]


 This email, together with any attachments, is for the
 exclusive and
 confidential use of the addressee(s).  Any other
 distribution, use or
 reproduction without the sender's prior consent is
 unauthorised and strictly
 prohibited.  If you have received this message in error,
 please
 notify the sender by email immediately and delete the
 message from your
 computer without making any copies.




 -Original Message-
 From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
 Sent: 17 September 2002 20:18
 To: CF-Talk
 Subject: soEditor was RE: TextArea  MS Word


 Out of curiosity ( I'm going to be implementing it soon ),
 what minor
 changes?

 I have the Full soEditor, It Rocks... With a few minor
 changes!!!  Get the
 source code and have a play

 Mark Stephenson
 New Media Director
 Evolution Internet
 T: 0870 757 1631
 F: 0870 757 1632
 W: www.evolutioninternet.co.uk
 E:
 [EMAIL PROTECTED]

 Isaac Dealey
 Certified Advanced ColdFusion 5 Developer

 www.turnkey.to
 954-776-0046



 __
 
 Your ad could be here. Monies from ads go to support these
 lists and provide more resources for the community.
 http://www.fusionauthority.com/ads.cfm
 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
 Archives:
 http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe:
 http://www.houseoffusion.com/index.cfm?sidebar=lists



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists