rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: Garphy on July 28, 2007, 02:47:29 AM

Title: UTF-8 support for chinese characters in hfs.diff.tpl
Post by: Garphy on July 28, 2007, 02:47:29 AM
1. for chinese template,
UTF-8 encoded hfs.diff.tpl display abnormal,
but normal by ANSI encoded hfs.diff.tpl,
paste codes into the Diff Template Dialog is ok,too...

2. [file] section in hfs.diff.tpl doesn't work
[file] section of default tpl instead... ???how odd...
Title: Re: UTF-8 support for chinese characters in hfs.diff.tpl
Post by: rejetto on July 29, 2007, 05:51:05 PM
1. yes, hfs.diff.tpl is converted to UTF8 if the template is UTF8, so you must save it as ANSI.

2. i tried to create an hfs.diff.tpl with this content
Code: [Select]
[file]
<li>%item-ext%

and it behaved correctly. can you tell me how to reproduce your problem?
Title: Re: UTF-8 support for chinese characters in hfs.diff.tpl
Post by: Garphy on July 30, 2007, 05:43:11 AM
oh,sorry...
my mistake...

only when the defalt tpl is HFS Terayon,
that made it...