Hi,
Try @ProduceMime("application/json;charset=UTF-8")Cheers, Sergey----- Original Message ----- From: "smallufo" <[EMAIL PROTECTED]>
To: <[email protected]> Sent: Monday, October 06, 2008 1:04 PM Subject: JAX-RS : How to change encoding or charset ?
I am using cxf 2.1.2 to publish my service to json objects. But all Chinese/Japanese characters are all truncated. I tried to find something @charset or @encoding annotation , want to change the encoding to "UTF-8" But cannot find an answer ... Can somebody tell me how to accomplish this ? Thanks a lot.
---------------------------- IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
