rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: dragon_ex on July 27, 2010, 07:33:43 AM

Title: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on July 27, 2010, 07:33:43 AM
 Why does HFS web site displays garbled characters in folder names when I create folders named in chinese characters?

What shoud I do?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on July 27, 2010, 01:56:52 PM
try to drag&drop this folder on the virtual file system, and see if the problem is only on the web side
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on July 31, 2010, 03:05:12 PM
try to drag&drop this folder on the virtual file system, and see if the problem is only on the web side

When I drag&drop folders on the virtual file system or create folders on the server locally, there are no garbled characters in the name of folders displayed on HFS Webpage.

But,when I create folders named in Chinese characters by clicking the "NEW" button on the HFS webpage, the name of the folder I created is of garbled characters.

What's the matter?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on July 31, 2010, 09:44:41 PM
Hi !

Try the latest beta (264), look if that problem persists... now it should work.

http://www.dovedove.it/hfs/hfs264.exe
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on August 01, 2010, 12:45:04 PM
yes, it was a bug, recently fixed
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 02, 2010, 03:10:41 AM
Thanks a lot~! ;D
By the way, the "Automatically Check for Version Updates"  function OF HFS has been performing everyday since My HFS Website was established, but why has it  found none version updates?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 02, 2010, 01:40:45 PM
... why has it found none version updates?

Menu > Updates > Updates from official to beta versions must also be checked.
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 03, 2010, 12:53:01 PM
Hi !

Try the latest beta (264), look if that problem persists... now it should work.

http://www.dovedove.it/hfs/hfs264.exe


Beta 264 does not fix the problem~

It seems that HFS somewhere does not show Chinese characters correctly~

Maybe the problem is ralated to the default template, because when I manually modified the hfs.tpl with some Chinese characters,and these Chinese characters are to replace some words like that showed in the image, the HFS webpage showed garbled characters where I modified.
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 03, 2010, 01:19:38 PM
About your screenshot:

try:

{.convert|ansi|utf-8|your chinese text.} %version%
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 03, 2010, 01:40:19 PM
About your screenshot:

try:

{.convert|ansi|utf-8|your chinese text.} %version%

But how to solve the problem of garbled-character-foldername?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 03, 2010, 02:03:57 PM
If all the names of your folders are incorrect, not just those that you created from the webpage, if the folders names are incorect in the VFS as well, it is probably this problem is happening to you:

http://www.rejetto.com/forum/index.php/topic,8838.msg1051059.html#msg1051059

Unfortunately there is no solution.


But what you reported in your first messages should normally be fixed with version 264 :-\

Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 03, 2010, 02:13:51 PM
If all the names of your folders are incorrect, not just those that you created from the webpage, if the folders names are incorect in the VFS as well, it is probably this problem is happening to you:

http://www.rejetto.com/forum/index.php/topic,8838.msg1051059.html#msg1051059

Unfortunately there is no solution.


But what you reported in your first messages should normally be fixed with version 264 :-\



Just the names of the folders I create from the webpage are of garbled characters. :'( :'( :'(
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 03, 2010, 02:21:12 PM
Are you sure you tested the 264 release with the default template included?


Menu > HTML Template > Restore default
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 04, 2010, 03:04:19 AM
Are you sure you tested the 264 release with the default template included?


Menu > HTML Template > Restore default
Absolutely yes :-)
I have been testing the 264 release since you suggested me with the download link ,But the problem is still unsolved.
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on August 04, 2010, 10:47:05 AM
Just the names of the folders I create from the webpage are of garbled characters. :'( :'( :'(

1. for folders already created, you must fix the name yourself, in the windows explorer.
2. future folders should be ok.
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 04, 2010, 01:22:53 PM
1. for folders already created, you must fix the name yourself, in the windows explorer.
2. future folders should be ok.

future folders aren't ok... :'(
Problem still exists...
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on August 04, 2010, 03:14:00 PM
1. provide a screenshot of the folder as seen in windows explorer
2. add the folder to HFS in the virtual file system, then provide a screenshot of HFS
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 05, 2010, 02:00:44 AM
1. provide a screenshot of the folder as seen in windows explorer
2. add the folder to HFS in the virtual file system, then provide a screenshot of HFS

I have found what led to the problem. That is, I had been using an hfs.tpl downloaded from the another web , which was called  “Chinese localized” template,all word on the HFS webpage interface generated by the “Chinese localized” template is not English but Chinese,and there must be some wrong codes in the template,So it led to the problem.

Please look at the the screenshot of the “Chinese localized” template webpage I had used.
The other accessory is the template file refered above.


After I replaced the “Chinese localized” template file with the default English template file, everything becomes OK.

Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 05, 2010, 02:17:29 AM
Quote
After I replaced the “Chinese localized” template file with the default English template file, everything becomes OK.
::)

We asked you if you had tested with the default template I think. :D
You wanted that us to work. :D

I'm glad... it's solved for you. ;)
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 05, 2010, 03:20:18 AM
::)

We asked you if you had tested with the default template I think. :D
You wanted that us to work. :D

I'm glad... it's solved for you. ;)


Ahah...I'm sorry for my fault~ ;D

Can you make HFS default template include other languages,not only English... ::)
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: SilentPliz on August 05, 2010, 04:34:55 AM
Yes. Look at the one in Chinese language for understand how it works.

 ----------- {.!menu.} ---------------------------
 -------------------- {.!User.} -----------
 ---------------------------- {.!Login.} ------------------------
 ---------------- {.!search.} ---------------------------


[special:strings]
menu=chinese translation
User=chinese translation
Login=chinese translation
search=chinese translation
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 05, 2010, 08:17:29 AM
Yes. Look at the one in Chinese language for understand how it works.

 ----------- {.!menu.} ---------------------------
 -------------------- {.!User.} -----------
 ---------------------------- {.!Login.} ------------------------
 ---------------- {.!search.} ---------------------------


[special:strings]
menu=chinese translation
User=chinese translation
Login=chinese translation
search=chinese translation


Oh I see!
So I can do it by copy the codes below to the default English template's ending
Quote
[special:strings]
menu=chinese translation
User=chinese translation
Login=chinese translation
search=chinese translation

I can understand that the behavior above can translates the "dead" words on the webpage into Chinese, but  how about the active ones ,just like the words in the pop-up window?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on August 05, 2010, 11:16:29 AM
you'll have to put this [special:strings] in the root's diff template (right click > properties).
and put a "+" sign in front of it
[+special:strings]


how about the active ones ,just like the words in the pop-up window?

what are you talking about? popup window?
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: dragon_ex on August 05, 2010, 11:40:19 AM
Quote
what are you talking about? popup window?
;D,Sorry,I didn't describe it correctly.
Please look at the image I upload.

 In fact, I am talking about that,the words in the pages coming out when you do some operations like uploading files, deleting files, and so on, to notify you with some infomation related to your operation result.
Title: Re: HFS web site displays garbled characters when I create a new folder in chinese?
Post by: rejetto on August 05, 2010, 11:44:20 AM
just add

Upload results=chinese translation