rejetto forum
May 25, 2012, 04:38:55 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Even worse CJK support in ver. 2.3?  (Read 2490 times)
0 Members and 1 Guest are viewing this topic.
NagatoYuki
Occasional poster
*
Offline Offline

Hong Kong Hong Kong

Posts: 4


View Profile
« on: June 28, 2008, 12:00:47 PM »

I have test the lastest beta version of HFS 2.3 build 186.
But it seems that it cannot handle filenames with CJK characters.

There is an example filename:
雪、無音、窓辺にて。cokesi-MIX(sm1843138).mp3

If I just use the default setting, it show that...

Upload failed, Not allowed: 雪、無音、????。cokesi-MIX(sm1843138).mp3
Upload failed, Error creating file: I:\Upload\雪、無音、????。cokesi-MIX(sm1843138).mp3: 雪、無音、????。cokesi-MIX(sm1843138).mp3

OK, that because HFS cannot handle Unicode Windows API...

But, I edit the template, replace all "charset=UTF-8" with "charset=BIG5"...

it show that...
Upload failed, Error creating file: I:\Upload\"雪、無音、&#31379: "雪、無音、&#31379

The Unicode numeric character reference [NCR] (e.g.  窓) cause this error...

However, HFS 2.2, when I replace all "charset=UTF-8" in the template with "charset=BIG5"...

Uploading 雪、無音、窓辺にて。cokesi-MIX(sm1843138).mp3
Fully uploaded -  4.72 MB @ 889 KB/s

The filename is a bit strange, but the upload process is able to finish.

The character isn't found in the charset(Codepage) of webpage, the browser sent them as Unicode NCR.
However, HFS cannot handle them well...
So, there should be options the template[or HFS] use DBCS mode or Unicode(UTF-8) Mode...
If it is difficult to be done, Fully Unicode Native Support is need to implement.

Is HFS code in delphi? Ok, the delphi program is able to implement Unicode Support, such as the KMPlayer.
And, the setting file should be in UTF-8 while the program is Unicode one :)

Oh, Dose HFS has auto rename function for upload file? It a temporary way to solve the issus...


Anyway, I cannot found a such best mini program. Thanks rejetto for HFS :)

Nagato Yuki
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 02:04:46 AM