• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cf and encoding of source files ...

LEGEND ,
Dec 11, 2006 Dec 11, 2006

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

207

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 11, 2006 Dec 11, 2006

Copy link to clipboard

Copied

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" />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 12, 2006 Dec 12, 2006

Copy link to clipboard

Copied

LATEST
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" />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation