You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Kintzel Levente <ki...@codespring.ro> on 2005/07/12 14:46:12 UTC

UTF-8

        Hi everebody!

I want to create a page with UTF - 8 characters. Can somebody tell me what steps must I follow to have the page worked well.
I created the UTF-8 vm files... I create the VM files, I setted up the encoding in TurbineResource.properties but I obtained a plus empty line... Why?
Has somebody the same problem?
Thanks a lot!

     Regards,
          Levy 

         

Re: UTF-8

Posted by Edwin Gustafson <eg...@caymanchem.com>.
Greetings,

I haven't posted here in a while, but I have experience with this issue 
that may be applicable.  In the project properties file:

locale.default.charset=utf-8

Then in the templates, HTML-escaped Unicode hex values work best for 
me.  For instance, to display a lower greek alpha (α), the template 
includes these characters verbatim:

&#x03b1;

Of course this assumes your output is HTML or XML, not plain text.

HTH

Kintzel Levente wrote:

>I want to create a page with UTF - 8 characters. Can somebody tell me what steps must I follow to have the page worked well.
>I created the UTF-8 vm files... I create the VM files, I setted up the encoding in TurbineResource.properties but I obtained a plus empty line... Why?
>Has somebody the same problem?
>
-- 
Edwin Gustafson
Cayman Chemical Company
--
734 975 3993
http://www.caymanchem.com/promo/ewg
42º13′44″N 83º43′25″W — 17T 275242E 4678791N NAD83
--
My employer reserves the right to read and archive all messages
you and I exchange using my company email account.
--
CONFIDENTIALITY NOTICE: This transmission (including any attachments)
contains information which is confidential and is intended solely
for the individual or entity named above. If you are not the intended
recipient, any interception, copying, distribution, disclosure or
business use of this transmission or any information contained in
it is strictly prohibited, and may be subject to criminal and civil
penalties.  If you have received this transmission in error, please
immediately call us at 800-364-9897, delete the transmission from
all forms of electronic or other storage, and destroy all hard
copies. Do not forward this transmission. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org