We have a lot of pages encoded with iso-8859-1. CFBuilder Beta 1-3 was able to show the correct encoding (specified in project properties > resources > text file ecoding). Although we changed the settings in project properties and in preferences (general > workspace > text file encoding > other > iso-8859-1), cfbuilder opens every single page with utf-8. it's possible to change it for every page under page properties (or edit > set encoding), but this is a really big efford... it's also a little bit strange, because the set-encoding-menu shows "Determined from content: UTF-8" by default, although there are a lot of iso-8859-1 encoded characters inside (ä/ö/ü in our comments).
To make CFML editor handel content of given CFML file for a given encoding, follow these steps -
1) Navigate to preferences->General->Content types page
2) On this page expand Text node and select CFML source file.
3) Once selected, default encoding text field will show "UTF-8" as default encoding for CFML content.
4) Change this to any desired encoding type and click update button next to this field.
5) Click OK.
6) Reopen file in editor.
Now content of any CFML source file (.cfm, .cfc, .cfml) will be handled as encoded in specified encoding.
Adobe ColdFusion dev team
Blog - http://sandeepp.org/blog/
"that's not what I claimed, of course these charactes exists also in utf-8, but
not in the same position"
do you want the full blown unicode lecture (it's already in these forums in
several places over the years) or will you just look this up yourself?
if you open the cf files up in notepad or whatever, what do you see?
Thanks for all your help...
Sandeep Paliwa: thats exactly the solution I mentioned in the original post - but it's a big efford to do this for every single file...
PaulH: It's not about the difference between iso and utf-8.....!
CFBuilder beta got the text file encoding for all pages from the project settings
CFBuilder 1.0 does not...
Sorry, Sandeep Paliwa, i was wrong:
That was not exactly the same setting as I thought (I was reading it too fast, I'm really sorry): your are absolutely right!! This setting is the default for all pages without exceptions.
Thank you very much for your help!