Re: Apostrophes become boxes and other odd characters in CFMX?

2003-01-13 Thread jochemd
Quoting Cameron Childress [EMAIL PROTECTED]:
 
 After upgrading an application from CF5 to CFMX, I have run into a
 situation
 where some apostrophes and quote marks are being transformed into weird
 boxes and other strange characters.  This only seems to happen when users
 cut/paste text from word, and not when they type it directly into the text
 form fields.  I have a feeling that this has something to do with the JDBC
 drivers, but wanted to ask the list first in case anyone else has run into
 this problem.

I have a feeling it has to do with charsets. Are you explicitly specifying the
charset everywhere? Have you taken advantage of the upgrade and switched to
unicode in the process?

Jochem
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Apostrophes become boxes and other odd characters in CFMX?

2003-01-13 Thread Cameron Childress
Unfortunately, This was a straight upgrade from CF5 to CFMX and I haven't
changed anything about the way it handles char encoding.  I am playing with
it some now, but do you have an example of the things I might need to
change, tags/etc to get this to work?

-Cameron

-
Cameron Childress
Sumo Consulting Inc.
---
cell:  678-637-5072
aim:   cameroncf
email: [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 13, 2003 9:44 AM
 To: CF-Talk
 Subject: Re: Apostrophes become boxes and other odd characters in CFMX?


 Quoting Cameron Childress [EMAIL PROTECTED]:
 
  After upgrading an application from CF5 to CFMX, I have run into a
  situation
  where some apostrophes and quote marks are being transformed into weird
  boxes and other strange characters.  This only seems to happen
 when users
  cut/paste text from word, and not when they type it directly
 into the text
  form fields.  I have a feeling that this has something to do
 with the JDBC
  drivers, but wanted to ask the list first in case anyone else
 has run into
  this problem.

 I have a feeling it has to do with charsets. Are you explicitly
 specifying the
 charset everywhere? Have you taken advantage of the upgrade and
 switched to
 unicode in the process?

 Jochem
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Apostrophes become boxes and other odd characters in CFMX?

2003-01-13 Thread Chris White
I had the same issue and it was a character set issue.  Here is the code that
I used to fix my application:

cfprocessingdirective pageencoding=iso-8859-1
cfset setEncoding(form,iso-8859-1)
cfset setEncoding(URL,iso-8859-1)
cfcontent type=text/html; charset=iso-8859-1 

Another discussion about character sets:
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=3threadid=403175highlight_key=ykeyword1=MXkeyword2=character

Chris White

Unfortunately, This was a straight upgrade from CF5 to CFMX and I haven't
changed anything about the way it handles char encoding.  I am playing with it
some now, but do you have an example of the things I might need to change,
tags/etc to get this to work?

-Cameron

-
Cameron Childress
Sumo Consulting Inc.
---
cell:  678-637-5072
aim:   cameroncf
email: [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 13, 2003 9:44 AM
 To: CF-Talk
 Subject: Re: Apostrophes become boxes and other odd characters in 
 CFMX?


 Quoting Cameron Childress [EMAIL PROTECTED]:
 
  After upgrading an application from CF5 to CFMX, I have run into a 
  situation where some apostrophes and quote marks are being 
  transformed into weird boxes and other strange characters.  This 
  only seems to happen
 when users
  cut/paste text from word, and not when they type it directly
 into the text
  form fields.  I have a feeling that this has something to do
 with the JDBC
  drivers, but wanted to ask the list first in case anyone else
 has run into
  this problem.

 I have a feeling it has to do with charsets. Are you explicitly 
 specifying the charset everywhere? Have you taken advantage of the 
 upgrade and switched to
 unicode in the process?

 Jochem
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Apostrophes become boxes and other odd characters in CFMX?

2003-01-13 Thread Cameron Childress
That did it!  Thanks...

-Cameron

-
Cameron Childress
Sumo Consulting Inc.
---
cell:  678-637-5072
aim:   cameroncf
email: [EMAIL PROTECTED]


 -Original Message-
 From: Chris White [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 13, 2003 10:52 AM
 To: CF-Talk
 Subject: RE: Apostrophes become boxes and other odd characters in CFMX?


 I had the same issue and it was a character set issue.  Here is
 the code that
 I used to fix my application:

 cfprocessingdirective pageencoding=iso-8859-1
 cfset setEncoding(form,iso-8859-1)
 cfset setEncoding(URL,iso-8859-1)
 cfcontent type=text/html; charset=iso-8859-1

 Another discussion about character sets:
 http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=3
 threadid=403175highlight_key=ykeyword1=MXkeyword2=character

 Chris White

 Unfortunately, This was a straight upgrade from CF5 to CFMX and I haven't
 changed anything about the way it handles char encoding.  I am
 playing with it
 some now, but do you have an example of the things I might need to change,
 tags/etc to get this to work?

 -Cameron

 -
 Cameron Childress
 Sumo Consulting Inc.
 ---
 cell:  678-637-5072
 aim:   cameroncf
 email: [EMAIL PROTECTED]


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Monday, January 13, 2003 9:44 AM
  To: CF-Talk
  Subject: Re: Apostrophes become boxes and other odd characters in
  CFMX?
 
 
  Quoting Cameron Childress [EMAIL PROTECTED]:
  
   After upgrading an application from CF5 to CFMX, I have run into a
   situation where some apostrophes and quote marks are being
   transformed into weird boxes and other strange characters.  This
   only seems to happen
  when users
   cut/paste text from word, and not when they type it directly
  into the text
   form fields.  I have a feeling that this has something to do
  with the JDBC
   drivers, but wanted to ask the list first in case anyone else
  has run into
   this problem.
 
  I have a feeling it has to do with charsets. Are you explicitly
  specifying the charset everywhere? Have you taken advantage of the
  upgrade and switched to
  unicode in the process?
 
  Jochem
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Apostrophes become boxes and other odd characters in CFMX?

2003-01-13 Thread Jochem van Dieten
Chris White wrote:
 
 cfprocessingdirective pageencoding=iso-8859-1

This one should go into every template.


 cfset setEncoding(form,iso-8859-1)
 cfset setEncoding(URL,iso-8859-1)
 cfcontent type=text/html; charset=iso-8859-1 

These can be set once from Application.cfm

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4