It' seem nukes only friendly with single byte language.
I want to make it works width tranditional chinese, but it's seem not easy to find a 
entrance.

Did any nukes team memeber consider to define a good architechture wthich can make  
the whole nukes modules work friendly with any language.

There is at least three places to consider:
1. doPost , doGet method in servlet , must reconize the encoding of the client 
(browser) input. This should be responsibility of servlet spec, but earlier servlet 
implementation did not handle very well, I don't know what verstion of servlet/tomcat 
can handle it correctly or it is still a stupid bug ?

2. html page encode problems:  bb module encode/decode content seems has problem, it 
will encode all double byte charactor into a form like "&#23243". Can anybody explain 
why?

3.  database connection:  make sure it store correct data. I am not family with mysql, 
but I know mysql can work with utf8 encoding.  I have a little expriernce with MS-SQL 
JDBC driver long long ago. You have to gvive explict encoding parameter in connection.

I think all output rendering html page should be UTF-8 encoding, this coding is accept 
in most browser and works very good in multi language display. 

Java is i18n build-in, if we define it well, everything will goes well. What we have 
to do is just format the message like timestampe in bb module.

Sorry for my poor english grammar.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834400#3834400

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834400


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to