equal
deleted
inserted
replaced
245 |
245 |
246 /* |
246 /* |
247 * user.language |
247 * user.language |
248 * user.script, user.country, user.variant (if user's environment specifies them) |
248 * user.script, user.country, user.variant (if user's environment specifies them) |
249 * file.encoding |
249 * file.encoding |
250 * file.encoding.pkg |
|
251 */ |
250 */ |
252 PUTPROP(props, "user.language", sprops->language); |
251 PUTPROP(props, "user.language", sprops->language); |
253 if (sprops->script) { |
252 if (sprops->script) { |
254 PUTPROP(props, "user.script", sprops->script); |
253 PUTPROP(props, "user.script", sprops->script); |
255 } |
254 } |
264 PUTPROP(props, "sun.stdout.encoding", sprops->sun_stdout_encoding); |
263 PUTPROP(props, "sun.stdout.encoding", sprops->sun_stdout_encoding); |
265 } |
264 } |
266 if (sprops->sun_stderr_encoding != NULL) { |
265 if (sprops->sun_stderr_encoding != NULL) { |
267 PUTPROP(props, "sun.stderr.encoding", sprops->sun_stderr_encoding); |
266 PUTPROP(props, "sun.stderr.encoding", sprops->sun_stderr_encoding); |
268 } |
267 } |
269 PUTPROP(props, "file.encoding.pkg", "sun.io"); |
|
270 |
268 |
271 /* unicode_encoding specifies the default endianness */ |
269 /* unicode_encoding specifies the default endianness */ |
272 PUTPROP(props, "sun.io.unicode.encoding", sprops->unicode_encoding); |
270 PUTPROP(props, "sun.io.unicode.encoding", sprops->unicode_encoding); |
273 PUTPROP(props, "sun.cpu.isalist", |
271 PUTPROP(props, "sun.cpu.isalist", |
274 (sprops->cpu_isalist ? sprops->cpu_isalist : "")); |
272 (sprops->cpu_isalist ? sprops->cpu_isalist : "")); |