<t:buffer> does not support East Asia characters using UTF-8 encoding, Created: 08/Jan/06 11:10 PM Updated: 27/Apr/06 04:08 PM http://issues.apache.org/jira/browse/TOMAHAWK-45
Fortunately, I am not the only one who meet the problem. :) Zhi ----- Original Message ----- From: "Zhi" <[EMAIL PROTECTED]> To: "MyFaces Discussion" <[email protected]> Sent: Saturday, May 20, 2006 10:35 PM Subject: Defect of t:buffer? > With source code of Tomahawk-1.1.3-SNAPSHOT and MyFaces-1.1.4-SNAPSHOT, > t:buffer mess the Chinese characters. > > I use t:buffer, t:dataTable, and t:dataScroller in the standard way as > tomahawk/examples/simple/buffer.jsp. > > <t:buffer into="#{table}"> > <t:dataTable > ... > </t:dataTable> > </t:buffer> > > <t:buffer into="#{tableScroller}"> > <t:dataScroller > ... > </t:dataScroller> > </t:buffer> > > <h:outputText value="#{tableScroller}" escape="false"/> > <h:outputText value="#{table}" escape="false"/> > <h:outputText value="#{tableScroller}" escape="false"/> > > And these codes work perfectly with Tomahawk-1.1.2 and MyFaces-1.1.2. But > when I replaced them with Tomahawk-1.1.3-SNAPSHOT and MyFaces-1.1.4-SNAPSHOT, > Chinese characters in the data table become DIAMONDS, while letters and > digits display fine. > > When I remove t:buffer surrounding t:dataTable, Chinese characters return > back. > > <%-- t:buffer into="#{table}" --%> > <t:dataTable > ... > </t:dataTable> > <%-- /t:buffer --%> > > <%--t:buffer into="#{tableScroller}" --%> > <t:dataScroller > ... > </t:dataScroller> > <%-- /t:buffer --%> > > <%-- > <h:outputText value="#{tableScroller}" escape="false"/> > <h:outputText value="#{table}" escape="false"/> > <h:outputText value="#{tableScroller}" escape="false"/> > --%> > > > Is this a known defect of t:buffer? I shall appreciate for any solution. > > > Zhi

