[opencms-dev] Problem in using Thai(chinese) language in JSP pagesand property o ffile.

King Yu king_yu at tradeeasy.com.cn
Tue Oct 26 03:34:38 CEST 2004


Hi Kosol,
  You must set the JSP file's property( content-encoding) as UTF-8 
 And add : <%@ page pageEncoding="UTF-8" %> in the beginning of the JSP file

King Yu


-----邮件原件-----
发件人: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] 代表 opencms-dev-request at opencms.org
发送时间: 2004年10月25日 18:01
收件人: opencms-dev at opencms.org
主题: opencms-dev Digest, Vol 12, Issue 1

Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-owner at opencms.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."


Today's Topics:

   1. ??: [opencms-dev] Problem in using Thai(chinese) language in
      JSP pagesand property o ffile. (???)
   2. OpenCMS hosting (Domenico De Seta)
   3. jsp pages open new window ? (Cherif)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Oct 2004 21:20:38 +0800
X-Virus: 1
From: ??? <shiys at langhua.cn>
Subject: ??: [opencms-dev] Problem in using Thai(chinese) language in
	JSP pagesand property o ffile.
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <GKEDKJBODPDLHGNJCDBEKEBECBAA.shiys at langhua.cn>
Content-Type: text/plain;	charset="utf-8"

Hi Kosol,

Have you tried <%@ page pageEncoding="UTF-8" %>? If not, add it in the beginning of your JSP files.

Regards,

Shi Yusen/Langhua


-----鍘熷閭欢-----
鍙戜欢浜? cdg3472 [mailto:kosol.t at g-able.com]
鍙戦€佹椂闂? 2004骞?0鏈?2鏃?17:18
鏀朵欢浜? opencms-dev at opencms.org
涓婚: [opencms-dev] Problem in using Thai(chinese) language in JSP pagesand property o ffile.


Dear All
    I have some problem with language display. When i edit Thai language 
page in WYSYWYG editor  with file type HTML , the files show and display 
properly, but when i use Thai language in JSP file and in property of 
file it's display not correct encoding.
How do i resolve this problem.
   
    - In Opencms config i use UTF-8 for encoding
    - In tomcat i set encoding to UTF-8
    - In mysql my default-charater-set is UTF-8 (mysql 4.1.5 supported 
utf8).

Did anyone have solution for solve this promblem or it must modify the 
code of OpenCms??
Thank you

Best Regards,
Tar

---------------------------------------------------
Kosol Tuanveeradej
G-able.co,ltd.



------------------------------

Message: 2
Date: Sun, 24 Oct 2004 16:44:06 +0200
X-Virus: 1
From: "Domenico De Seta" <domenico.deseta at tiscali.it>
Subject: [opencms-dev] OpenCMS hosting
To: <opencms-dev at opencms.org>
Message-ID: <000101c4b9d7$eaaa40f0$0200a8c0 at ERPUPO>
Content-Type: text/plain; charset="windows-1252"

 
 
Hi Dylan,
 
I found this message in the OpenCMS mailing archive:
 
>>From what I'm understanding is that you want to run OpenCms on the
same box as IIS and you want the static HTML pages to be served up by
IIS and the dynamic pages by Tomcat.
> 
>Is this correct? If yes, I might be able to give you some advice since
the company I work for has done this several times.
> 
>- Dylan
 
Since I am really interested in the subject as well may I ask you to
forward me any information you will be able to retrieve?
 
Thanks a lot 
 
Domenico

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
X-Virus: 1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041024/021fa50f/attachment-0001.html

------------------------------

Message: 3
Date: Sun, 24 Oct 2004 21:35:50 +0200
X-Virus: 1
From: "Cherif" <multxt at free.fr>
Subject: [opencms-dev] jsp pages open new window ?
To: <opencms-dev at opencms.org>
Message-ID: <000901c4ba00$abafad80$0200a8c0 at pii400>
Content-Type: text/plain;	charset="iso-8859-1"

Newbie and hello to all
I am using opencms 6, things go on fine.
But, I made a jsptemplate using table. When i make a html document based on
this jsptemplate, every thing works fine. making jsp document, the content
is not displaying in the body as expected from my template, but always open
a new window. is it normal?
Best Regards


------------------------------

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

End of opencms-dev Digest, Vol 12, Issue 1
******************************************




More information about the opencms-dev mailing list