Skip navigation
pfurrer
Currently Being Moderated

New Encoding-Problems with CFBuilder 1.0

Mar 24, 2010 1:54 AM

Hello

 

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).

 

Any idea?

 

Thanx,

Patrick

 
Replies
  • Currently Being Moderated
    Mar 24, 2010 3:07 AM   in reply to pfurrer

    "although there are a lot of iso-8859-1 encoded characters inside (ä/ö/ü in our

    comments)"

     

    what makes you think those are iso-8859-1/latin-1 only chars?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 24, 2010 5:04 AM   in reply to pfurrer

    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.

     

    thanks,

    Sandeep Paliwal

    Adobe ColdFusion dev team

    Blog - http://sandeepp.org/blog/

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 24, 2010 5:05 AM   in reply to pfurrer

    "that's not what I claimed, of course these charactes exists also in utf-8, but

    not in the same position"

     

    try again.

     

    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?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2010 1:48 AM   in reply to pfurrer

    Hi Im trying to change my content type encoding but everything appears to be locked so i cant make the change.

     

    Any idea how i unlock the content types?

     

    Cheers

     

    Ben

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2010 2:00 AM   in reply to benalembick

    OK just Typing in the box seems to work (my bad)

     

    However I need to set the type as ANSI (which isnt supported apparently) any clues

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points