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 Ju Xiaolong <ju...@wondersgroup.com> on 2003/07/18 02:52:30 UTC
答复: localization question
I just realize it by encoding jetspeedLocalization_zh.properties with native2ascii.exe.
-----原始邮件-----
发件人: Saddest OfAllKeys [mailto:keyofdminor@yahoo.com]
发送时间: 2003年7月18日 5:06
收件人: jetspeed-user@jakarta.apache.org
主题: localization question
Short version: Should I be able to see Chinese
characters in JetspeedLocalization.properties?
Alternatively, what is a proven strategy for using
pure Unicode with Jetspeed 1.4 b4?
Long version:
Background:
I'm using jetspeed-1.4-b4 with Chinese characters.
I have done the following:
(a) removed all JetspeedLocalization*.properties from
jetspeed-1.4-b4.jar and have removed all of
~/classes/org/apache/jetspeed/modules/localization/JetspeedLocalization_*.properties
(b) commented out locale info in Fulcrum.properties
(c) edited TurbineResources.properties like so:
locale.default.bundle=
locale.default.bundles=org.apache.jetspeed.modules.localization.JetspeedLocalization
locale.default.language=
locale.default.country=
(I have also used "en","US" as language, country)
(d) I have added a Chinese character to the HOME label
in JetspeedLocalization.properties (e.g. \u3230)
(e) I have removed all language preferences from the
browser (IE 5.5) and have "encoding" set to UTF8
(f) A grep for "UTF" in WEB-INF/conf produces:
Fulcrum.properties:#services.VelocityService.input.encoding=UTF-8
JetspeedResources.properties:content.defaultencoding=UTF-8
TurbineResources.properties:services.VelocityService.input.encoding=UTF-8
Problem: I can't see the Chinese character. I realize
it may be a font issue but I have loaded _some_ of the
Chinese fonts. I've debugged with Eclipse and can't
tell if the string is being read in properly.
I realize the ideal way is to use
JetspeedLocalization_zh.properties and set that as the
language in IE, but I'm trying to find the simplest
thing that can possibly work.
Any ideas greatly appreciated!!
Mike
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org