You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vladimir Figurov <vf...@asia-soft.kz> on 2004/08/24 15:47:56 UTC
i10n messages in email subsystem Jetspeed 1.5
Hi!
Any body know How To make i10n message in email subsystem Jetspeed 1.5 ???
By example, I try send Confirmation email from jetspeed and, I see
correct National Chars only SUBJECT-field mail 8(
In BODY - the all chars is broken (as "????" )
In header-mail ALLWAYS setting Content-Type: "test/plain;
charset=us-ascii" 8(((
but I working in utf-8 !!!
in velocity.properties I setting:
#----------------------------------------------------------------------------
# T E M P L A T E E N C O D I N G
#----------------------------------------------------------------------------
#template.encoding=8859_1
template.encoding=utf-8
#----------------------------------------------------------------------------
# C O N T E N T T Y P E
#----------------------------------------------------------------------------
# This is the default content type for the VelocityServlet.
#----------------------------------------------------------------------------
#default.contentType=text/html
default.contentType=text/html; charset=utf-8
but not effect 8((
--
Vladimir
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: i10n messages in email subsystem Jetspeed 1.5
Posted by Shinsuke SUGAYA <sh...@yahoo.co.jp>.
Hi,
It's i18n issue. Currently, you will need to modify the source code.
"Jetspeed for Japanese Support" project has the patch.
Patches, Japanese template files, and Classes imported from commons-lang 2.0:
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/jetspeed-japan/jetspeed-japan/patches/P-14/resources/
- replace with commons-email
- set charset by newuser.notification.charset key
- use StringEscapeUtils(it's commons-lang 2.0 code)
I think that I'll modify some code and commit them into cvs later..
Thanks,
shinsuke
Vladimir Figurov wrote:
> Hi!
> Any body know How To make i10n message in email subsystem Jetspeed 1.5 ???
> By example, I try send Confirmation email from jetspeed and, I see
> correct National Chars only SUBJECT-field mail 8(
> In BODY - the all chars is broken (as "????" )
> In header-mail ALLWAYS setting Content-Type: "test/plain;
> charset=us-ascii" 8(((
> but I working in utf-8 !!!
>
> in velocity.properties I setting:
> #----------------------------------------------------------------------------
>
> # T E M P L A T E E N C O D I N G
> #----------------------------------------------------------------------------
>
>
> #template.encoding=8859_1
> template.encoding=utf-8
>
> #----------------------------------------------------------------------------
>
> # C O N T E N T T Y P E
> #----------------------------------------------------------------------------
>
> # This is the default content type for the VelocityServlet.
> #----------------------------------------------------------------------------
>
>
> #default.contentType=text/html
> default.contentType=text/html; charset=utf-8
>
>
> but not effect 8((
>
__________________________________________________
GANBARE! NIPPON!
Yahoo! JAPAN JOC OFFICIAL INTERNET PORTAL SITE
http://mail.ganbare-nippon.yahoo.co.jp/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org