From shinsuke @ yahoo.co.jp Thu Feb 13 17:03:42 2003 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Thu, 13 Feb 2003 17:03:42 +0900 (JST) Subject: [Jetspeed-japan-dev] DefaultJetspeedParameterParser Message-ID: <20030213080342.58930.qmail@web704.mail.yahoo.co.jp> こんにちは。 Jakarta-Jetspeed に翻訳ファイルを送るついでに DefaultJetspeedParameterParser の話を David Sean Taylor 氏に したところ、興味を持ってくれたようで、Jetspeed の CVS にコミットまで してくれました。(まさか CVS にまで入れてくれるとは思いませんでした) どうも、国際化(I18n)を意識してくれたようで、DefaultJetspeedParameterParser について Jetspeed-dev で議論したいといっていました。ですので、コメントが ありましたら、ぜひ、よろしくお願いします。 shinsuke __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ From shinsuke @ yahoo.co.jp Sat Feb 15 16:59:42 2003 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Sat, 15 Feb 2003 16:59:42 +0900 Subject: [Jetspeed-japan-dev] DefaultJetspeedParameterParser In-Reply-To: <20030213080342.58930.qmail@web704.mail.yahoo.co.jp> References: <20030213080342.58930.qmail@web704.mail.yahoo.co.jp> Message-ID: <3E4DF36E.4030609@yahoo.co.jp> こんにちは. DefaultJetspeedParameterParser と JetspeedTemplatePage のパッチについて, 以下のようなメールを jetspeed-dev に出しておきました.だいたい間違っていることは 言っていないとは思っていますが,何かコメントなどありましたら,お願いします. これを機に国際化の問題などを意識してもらえれば良いかと思っています. まずは,すべてのメッセージを翻訳できる状態にしてほしいですね. shinsuke -------- Original Message -------- Subject: Re: cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/parser DefaultJetspeedParameterParser.java Date: Sat, 15 Feb 2003 13:57:10 +0900 From: Shinsuke SUGAYA Reply-To: Jetspeed Developers List To: Jetspeed Developers List References: <20030213055602.43040.qmail @ icarus.apache.org> Hi all, I have Japanese(L10n) Jetspeed project at sourceforge.jp in Japan. The target of this project is to add a feature/fix for Japanese environment. DefaultJetspeedParameterParser and JetspeedTemplatePage patch were created as I18n fix in the project. I describe it below. Jetspeed 1.4b3 has 2 issue: 1) The page encoding is specified by content.defaultencoding in JetspeedResources.properties. Applying the JetspeedTemplatePage patch, Jetspeed uses the encoding by the following priorities. 1. character-set parameter in media.xreg 2. content.defaultencoding in JetspeedResources.properties 3. UTF-8 Using this encoding order, Jetspeed uses UTF-8 when media-type is text/html. Therefore Jetspeed can display a multibyte character(ex. Japanese) correctly in the default environment. (For Jetspeed 1.4b3, user must change content.defaultencoding in order to display the multibyte character correctly.) 2) The form data is not parsed correctly. For example, in the HelloVelocity portlet, a multibyte character is displayed as "?" or garbage if user submits it. So the portlet developer needs to add a code for handling the correct encoding into the portlet. The cause is to parse the form data by 8859_1. Therefore, using DefaultJetspeedParameterParser, the form data is parsed by correct encoding.(The portlet developer does not need to add the special code) DefaultJetspeedParameterParser applies the following priorities when determining a encoding information. 1. the character encoding used in the body of the request. 2. character-set parameter in media.xreg 3. content.defaultencoding in JetspeedResources.properties 4. US-ASCII In many cases, it will use the character-set parameter in media.xreg. Please let me know if you have any comment about DefaultJetspeedParameterParser and JetspeedTemplatePage patch. I think that Jetspeed has the I18n issues, such as #14464, #13286(Please fix this bugzilla bugs. I attached info for fixing it.) and the L10n properties file(since all messages are not picked up to the properties file, I cannot localize Jetspeed...). Japanese Jetspeed project would like to contribute to Jetspeed from the point of view of I18n and L10n. Best regards, shinsuke -- Jetspeed for Japanese (sorry, Japanese only...) http://sourceforge.jp/projects/jetspeed-japan/ __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ From shinsuke @ yahoo.co.jp Wed Feb 19 23:28:32 2003 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Wed, 19 Feb 2003 23:28:32 +0900 Subject: [Jetspeed-japan-dev] FYI: Jakarta Jetspeed Message-ID: <3E539490.8070104@yahoo.co.jp> こんにちは. 参考情報ですが,Jetspeed日本語版プロジェクトが Jakarta Jetspeed の サイトよりリンクされました.(以下の場所にあります) http://jakarta.apache.org/jetspeed/site/resources.html JSR 168 の話でちょっと様子をみようかなっと思っていましたが,Jakarta から リンクされているので,今あるものに対しても貢献しなければいけないかなっと 思っています.そのような感じで地道な活動をしていこうと思いますので, よろしくお願いします. #最近,Wiki ポートレットを作ろうかなっと思っています. #何かアイディアなどありましたら,よろしくお願いします. shinsuke __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/