[英]How does Java determine 'file.encoding' system property?
I thought Java determines 'file.encoding' system property by system locale. 我认为Java按系统区域设置确定'file.encoding'系统属性。
But in my system while system locale is 'ko_kr.UTF-8', 'file.encoding' is 'ANSI_X3.4-1968'. 但在我的系统中,系统区域设置为'ko_kr.UTF-8'时,'file.encoding'为'ANSI_X3.4-1968'。
How does Java determine 'file.encoding' system property? Java如何确定'file.encoding'系统属性?
Native code populating properties from the below link(for solaris,Linux operating system ) 本机代码从以下链接填充属性(对于solaris,Linux操作系统)
Below native method loading system properties. 以下本机方法加载系统属性。
private static native Properties initProperties(Properties props);
Below link is the native code link for loading properties( after line number 187) 以下链接是用于加载属性的本机代码链接(在行号187之后)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.