I am a newbie of Mac OS X  ,
My Resin (4.0.10) has an encoding problem under mac os x ...
JVM starts without UTF-8 encoding , results in problems when parsing
resources...

This is resin's startup logs :

Resin-4.0.10 (built Tue, 24 Aug 2010 10:49:02 PDT)
Copyright(c) 1998-2010 Caucho Technology.  All rights reserved.

  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

Starting Resin on Thu, 16 Sep 2010 04:59:08 +0800 (CST)

[10-09-16 04:59:09.600] {main}
[10-09-16 04:59:09.600] {main} Mac OS X 10.6.4 x86_64
[10-09-16 04:59:09.601] {main} Java(TM) SE Runtime Environment
1.6.0_20-b02-279-10M3065, Big5, zh
[10-09-16 04:59:09.601] {main} Java HotSpot(TM) 64-Bit Server VM
16.3-b01-279, 64, mixed mode, Apple Inc.
[10-09-16 04:59:09.601] {main}

It shows the JRE starts with Big5 encoding ...
How to enforce it to UTF8 ?

I have specified utf-8 in resin.xml :
  <character-encoding>utf-8</character-encoding>


PS :
The whole WAR works like a charm in Linux ...:
[10-09-16 16:37:07.516] {main} Linux 2.6.18-164.6.1.el5 i386
[10-09-16 16:37:07.517] {main} Java(TM) SE Runtime Environment 1.6.0_20-b02,
UTF-8, zh
[10-09-16 16:37:07.517] {main} Java HotSpot(TM) Server VM 16.3-b01, 32,
mixed mode, Sun Microsystems Inc.
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to