2 Replies Latest reply on Dec 12, 2006 12:53 AM by Newsgroup_User

    cf and encoding of source files ...

    Level 7
      hello,

      i need to set default encoding of cf, problem is that -Dfile.encoding
      no longer works (from jvm 1.4.1). how to do this ?


      thanks,
      jan
        • 1. Re: cf and encoding of source files ...
          CutterBl Level 1
          You mean the default encoding of your display code? Isn't this something handled in the header of your html page?

          <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
          • 2. Re: cf and encoding of source files ...
            Level 7
            no i mean encoding used while compiling cf code to java
            until now i discovered that used encoding equals to java encoding
            (file.encoding property of System class) that in windows somehow relates
            to locale used by user that runs cf. i want to explicitly choose encoding.

            CutterBl wrote:
            > You mean the default encoding of your display code? Isn't this something handled in the header of your html page?
            >
            > <meta content="text/html; charset=UTF-8" http-equiv="content-type" />