[jboss-user] [JBoss Seam] - Re: Problems with i18n in Chinese

Seto do-not-reply at jboss.com
Wed Dec 6 11:44:54 EST 2006


  | <?xml version="1.0" encoding="utf-8"?>
  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  |                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | <html xmlns="http://www.w3.org/1999/xhtml"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:f="http://java.sun.com/jsf/core"
  | 	xmlns:a="https://ajax4jsf.dev.java.net/ajax">
  | 	<f:view>
  | 		<head>
  | 			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  | 			<title>#{messages['SiteTitle']}</title>
  | 			<!-- ????? -->
  | 			<link rel="stylesheet"  href="css/global.css" type="text/css" media="all"  />
  | 		</head>
  | 		<body>
  | 			<div align="center">
  | 				<div id="header">
  | 				</div>
  | 				<div id="search">
  | 					<h:form>
  | 						<div id="search_left">
  | 							<h:selectOneMenu  value="#{localeSelector.language}">
  | 								<f:selectItems value="#{localeSelector.supportedLocales}"/>
  | 							</h:selectOneMenu>
  | 							<h:commandButton action="#{localeSelector.select}" value="#{messages['ChangeLanguage']}"/>
  | 						</div>
  | 						<div id="search_right">	
  | 							<div id="search_string">
  | 								???
  | 								<h:inputText value="#{articleSearch.searchString}" style="width: 140px; height: 20px"/>
  | 							</div>
  | 							&#160;
  | 							<h:selectOneMenu id="search_field" value="#{articleSearch.field}">
  | 								<f:selectItem itemLabel="-???-" itemValue="title" />				
  | 								<f:selectItem itemLabel="tag" itemValue="tag" />
  | 								<f:selectItem itemLabel="??" itemValue="title" />
  | 								<f:selectItem itemLabel="???" itemValue="short_title" />
  | 								<f:selectItem itemLabel="???" itemValue="long_title" />
  | 								<f:selectItem itemLabel="??" itemValue="author" />
  | 								<f:selectItem itemLabel="??" itemValue="intro" />
  | 								<f:selectItem itemLabel="??" itemValue="content" />
  | 							</h:selectOneMenu>
  | 							&#160;
  | 							<a:commandButton value="??"
  | 								action="#{articleSearch.doSearchWithRedirect}" styleClass="button"/>
  | 						</div>
  | 					</h:form>
  | 				</div>
  | 				<div id="main">
  | 					<ui:insert name="content" />
  | 				</div>
  | 				<div id="footer">
  | 					???? | ???? | ???? | ???? | ????? | ???? | ???? | ???? | ???? | ????
  | 				</div>
  | 				<div id="copyright">
  | 					???? ???? ???? KaibaSeto at gmail.com
  | 					<br />
  | 					????IE6?????????
  | 				</div>
  | 			</div>
  | 		</body>
  | 	</f:view>
  | </html>
  | 


  | SiteTitle = ??mm
  | ChangeLanguage = ????
  | 

The problem is the Chinese display incorrectly.

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

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



More information about the jboss-user mailing list