rejetto forum

UTF-8 support for chinese characters in hfs.diff.tpl

Garphy · 3 · 5960

0 Members and 1 Guest are viewing this topic.

Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
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...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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?


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
oh,sorry...
my mistake...

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