Claude, A couple things to try off the top of my head...
First, always use UTF-8, whenever you can, it's the best solution all around. If you could use CFMX, I would say to use the setEncoding function, you tell it what scope and what encoding, and it somehow helps encode it. And last, set an encoding in your HTML header with a meta tag. I forget the syntax, you can probably google it yourself :) Overall, though, if you're having character encoding problems, your real problem is that you're on CF5 - way, way outdated and not at all supported. Thanks to Java, the internationalization and character set encoding in CF 6 + is like decades more advanced. nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Wed, Jan 21, 2009 at 4:14 PM, Claude Schneegans < [email protected]> wrote: > Hi, > > I'm posting this question for a friend of mine who has two problems: > 1 the one described below, > 2 although he is registered in CF-Talk, his posts do not get trhrough. > > Hello, > > Sometimes accented characters entered in a textarea field are replaced > with strange characters when recorded in my MS Access memo field, For > exemple "(c)" instead of "É. > > For debugging purpose, I used CFFile to record the same field value in a > ..txt file. When open with notepad, the accented characters are displayed > correctly, but the HEX values contained in the file seem to indicate > UTF-16 Little Endian. The file start with "FF FE" and the other > characters have the form "XX 00". > > Considering I'm with CF5 and it can't be upgraded, my question is: > > Is there a way (with CF5) that I can prevent the field to contain > anything else that ISO-8859-1? > > By parsing the characters? Using Access? Any other ideas? > > I have this tag to set the encoding of the form page: > > <cfcontent type="text/html; charset=ISO-8859-1" reset="yes"> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

