I am unable to find a list of java arguments which...
# cfml-general
h
I am unable to find a list of java arguments which can be used by ColdFusion, especially -Dcoldfusion. I remember there was a encoding argument, but can't find the name. Maybe someone can help? Thanks!
r
h
Thanks, finally a list of java system properties. Would be great if Adobe could document all of their settings too. But unfortunately there is no encoding property.
r
This one? -Dfile.encoding=UTF-8
h
Exactly, cool!
f
I just added the new property
-Dcoldfusion.searchimplicitscopes
to that page on cfdocs, Iโ€™m sure Iโ€™m missing a few more on that page so please feel free to let me know if one is missing, or just submit a PR if you want.
๐Ÿ‘๐Ÿป 1
๐Ÿ‘ 2
I could add
-Dfile.encoding=UTF-8
isnโ€™t that the default encoding used by the JVM though?
r
Yes, but I believe ACF picks that up. Lucee allows you to set it through the admin.
f
so are you using this to set a different encoding other than UTF-8, or just to ensure UTF-8 is used? BTW you can also specify encoding when you do a fileRead, cffile, etc
r
In my case, just to ensure that it's used.
๐Ÿ‘ 1