cancel
Showing results for 
Search instead for 
Did you mean: 

Can't preview chinese HTML/XML file.

chasedream285
Champ in-the-making
Champ in-the-making
I couldn't preview  Chinese HTML/XML file which are created from '/share' application. but Chinese TXT file is well and normal.
The chinese content of three kinds of files are well and normal, except preview for TXT file. chinese enoding can't be display correctly.

I tried to debug this with these article : http://wiki.alfresco.com/wiki/Content_Transformation_Debug
And add
log4j.logger.org.alfresco.repo.content.transform.TransformerDebug=DEBUG

into files:
tomcat/webapps/share/WEB-INF/classes/log4j.properties

But there was not any effects!
Any help would be appreciated

—–My ENV
Centos OS 5
mysql5
tomcat6
Alfresco:4.2
2 REPLIES 2

chasedream285
Champ in-the-making
Champ in-the-making
for HTML,
when I define the text contents with some special fonts in editior, preview will be ok.
seems that if you don't define the fonts for whole HTML file text content, Alfresco won't find any fonts to preview it,Chinese characters will be garbled.

But for XML,
I can't define text fonts with no entry.