rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Garphy on January 11, 2007, 05:59:37 AM

Title: Uploaded filename error under UTF-8
Post by: Garphy on January 11, 2007, 05:59:37 AM
this is a new bug...
under UTF-8 template, all file uploaded with chinese names will be like:艰璇句欢澧炲己鐗?rar

suggestion about "log to files...":
while the same name file existed, hfs will replace the old one.This will make the log lost.
so i advice to write to the end instead or replace...
Title: Re: Uploaded filename error under UTF-8
Post by: TSG on January 11, 2007, 06:05:41 AM
ummm.... i dont think utf-8 is for chinese characters... dont u need to use big something to show chinese characters...
Title: Re: Uploaded filename error under UTF-8
Post by: day on January 11, 2007, 06:57:32 AM
unicode is for all language...
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 11, 2007, 07:16:59 AM
ummm.... i dont think utf-8 is for chinese characters... dont u need to use big something to show chinese characters...


build 80 support chinese under UTF-8 very well
the only problem is what i said above,
under gbk mode ,the filename uploaded is all right,but error in UTF-8 template,
so i think it's needed to encode or decode the filename ,while uploading...
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 13, 2007, 02:25:36 PM
any opinion?
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 13, 2007, 03:15:10 PM
i think i fixed this problem in build 081, please try it.

www.rejetto.com/forum/?topic=3791.msg1021003#msg1021003
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 13, 2007, 04:56:27 PM
i'm sorry to bother you that: bug still...

Title: Re: Uploaded filename error under UTF-8
Post by: day on January 15, 2007, 09:47:45 AM
I've tried it also, same for me.
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 16, 2007, 12:01:26 PM
can you post a screenshot of the problem?
Title: Re: Uploaded filename error under UTF-8
Post by: day on January 16, 2007, 12:30:24 PM
UTF-8
before:
(http://i78.photobucket.com/albums/j110/dayletter/before.jpg)
after:
(http://i78.photobucket.com/albums/j110/dayletter/after.jpg)

It works fine with charset=BIG5 of course...
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 16, 2007, 12:34:52 PM
can you confirm which build number are you using?
Title: Re: Uploaded filename error under UTF-8
Post by: day on January 16, 2007, 01:40:37 PM
can you confirm which build number are you using?

081
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 16, 2007, 03:27:47 PM
me too,I guess encoding the name into UTF-8 would be ok~
wait for your good news next build
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 17, 2007, 05:25:33 PM
fixed in build 082
www.rejetto.com/forum/?topic=3791.msg1021139#msg1021139
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 18, 2007, 03:09:01 AM
God.......
still...

淇℃伅缁勭粐鎬濊€冮鍚堥泦.docx: OK --- 43.15 KB (Speed 2850 KB/s)

suppose to be:
信息组织思考题合集.docx: OK --- 43.15 KB (Speed 2850 KB/s)
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 18, 2007, 02:23:51 PM
crap...
can you eventually contact me on ICQ/MSN ?
my addresses www.rejetto.com/me/
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 18, 2007, 03:52:00 PM
my network speed is too low to log on even msn...
what's the trouble in the filename?
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 24, 2007, 06:45:42 AM
finally fixed.... ?
www.rejetto.com/forum/?topic=3791.msg1021342#msg1021342
Title: Re: Uploaded filename error under UTF-8
Post by: day on January 24, 2007, 07:40:30 AM
OMG...finally fixed! Great job!
However...
found another bug:
(http://i78.photobucket.com/albums/j110/dayletter/Clip.jpg)
which should originally look like this:
(http://i78.photobucket.com/albums/j110/dayletter/Clip_2-1.jpg)

This bug appears only on uploading...
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 24, 2007, 07:47:40 AM
argh!
fixed
www.rejetto.com/forum/?topic=3791.msg1021348#msg1021348
Title: Re: Uploaded filename error under UTF-8
Post by: day on January 24, 2007, 08:43:36 AM
Great!
It's perfect now :D
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 24, 2007, 12:46:39 PM
done!
 :D
if no other bug this could be a stable version~
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 26, 2007, 05:47:59 AM
new test progress:

besides uploaded filename and name in the log,
there are 3
ignored places:

1.progress bar
2.~files.lst?recursive
3.Download manager tpl
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 26, 2007, 06:19:49 AM
1. fixed in next build
2. can't reproduce, seems to be working good here. can you furnish a screenshot?
3. how did you test?
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 26, 2007, 09:06:51 AM
1. that's ok~

2. we know,~files.lst?recursive will list a txt,view the source is all right,
but error in IE,because the default charset of IE isn't UTF-8,I think add a tpl for the funtion will be ok.

3. Flashget,just display error
declare UTF-8 in default DMBROWNSERTPL doesn't work...

086 version is quite well now~
just take it easy to fix the bugs~
looking forward to the new features in the plan
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 26, 2007, 04:42:19 PM
2. ~file.lst is a simple ASCII txt made of URLs. if you see things like %E3%A4%F8 it is all ok, it is not a bug. if your problem is different please furnish a screenshot.
aside from this, a tpl for this function is already available, search for "filelist.tpl" in the documentation/wiki

3. i don't have flashget. can you furnish a screenshot?
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 26, 2007, 06:49:28 PM
2.ohhh,i just forgot that tpl...
now i see,here's an available "filelist.tpl":
Code: [Select]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body><div>%files%</div></body>
</html>

[files]
%list%

[file]
http://%host%%encoded-folder%%item-url%<br>

3.the last one,just look at this:
as the same,gbk is ok,error under UTF-8

[attachment deleted by admin]
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 28, 2007, 07:29:40 PM
2. no %symbol% in the TPL you reported should make use of the UTF8 specified, AFAIK

3. is there any problem in the screenshot you posted? can you specify where?
Title: Re: Uploaded filename error under UTF-8
Post by: Garphy on January 29, 2007, 01:44:42 PM
3.nearly all the chinese charaters

i think it's the soft that doesn't support utF-8 well...

it's not a key bug,so,i don't mind it much...
Title: Re: Uploaded filename error under UTF-8
Post by: Killua on January 29, 2007, 05:05:25 PM
3.nearly all the chinese charaters

i think it's the soft that doesn't support utF-8 well...

it's not a key bug,so,i don't mind it much...
However,if the soft is full Unicode support (UTF-16 for the soft,UTF-8 for the web),that is perfect...
Will the full Unicode support be in future plan?
Title: Re: Uploaded filename error under UTF-8
Post by: rejetto on January 30, 2007, 02:38:18 AM
Will the full Unicode support be in future plan?

yes