Skip to main content
Known Participant
November 10, 2009
Question

application wide page encoding?

  • November 10, 2009
  • 2 replies
  • 1441 views

I have found that you are able to change the page encoding for the entire server, but Is there a way to set the page encoding for an entire application? Using cfprocessingdirective works but i don't want to include that on every include page... any help would be appreciated

    This topic has been closed for replies.

    2 replies

    Inspiring
    November 10, 2009

    I have found that you are able to change the page encoding for the entire server, but Is there a way to set the page encoding for an entire application? Using cfprocessingdirective works but i don't want to include that on every include page... any help would be appreciated

    Do you have a requirement for apps on the same server to have different character encodings?

    --

    Adam

    BKBK
    Community Expert
    Community Expert
    November 10, 2009
    ... but i don't want to include that on every include page..

    But that is the recommended way to use it.

    whoisit28Author
    Known Participant
    November 10, 2009

    it seems like you should be able to set the encoding per application so you can have websites in different languages and different encodings without having to include that tag on every single include

    ilssac
    Inspiring
    November 10, 2009

    Are you looking for some other solution, other then the Application.cfm|cfc files that are automatically included in every request and thus can provide common code application wide or directory wide sections of an application?