Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-3172

cfprocessingdirective doesn't seem to work for pageencoding

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.1.004
    • Fix Version/s: 4.3.0.000, 4.2.1.005
    • Labels:
      None

      Description

      See forum thread

      Gist

      And the contents thereof:

      <cfprocessingdirective pageencoding="ISO-8859-5">
      Лэгыры
      

      I have a file saved with the correct encoding, and when I run this on CF, it works fine.

      On Railo I get this:
      �����

      I'm only running Railo Express (4.2.1.004), if that matters.

      Looking at what's been compiled, I see this amidst everything else:

      localProcessingDirective.setPageencoding("UTF-8");
      

      I can't see how that's correct. Also the bit holding the string is:

      paramPageContext.write("\r\n�����");
      

      So it looks like Railo's ignoring the <cfprocessingdirective> tag. Or perhaps it doesn't know how to deal with ISO-8859-5? If so... it should throw a compile error. Not just do it wrong.

      Later in the thread Peter Boughton points out that pageencoding doesn't seem to be implemented in the Railo source code. That's probably the problem then

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: