I found some problem in win32 version ....

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.

I found some problem in win32 version ....

Postby robinzhen » Sun Apr 19, 2009 9:12 pm

I used 0.4.0.9b version

If I shared some file , I found a problem...

If file is chinese SC name or japanese or chinese TC name , in RetorShare have tumble style....Can't read any none enligsh file name...
robinzhen
 
Posts: 5
Joined: Sun Apr 19, 2009 8:25 pm

Re: I found some problem in win32 version ....

Postby defnax » Mon Apr 20, 2009 1:49 pm

and latest svn its more bether then the old one for Shared Files
and i have added supports for bether Chinese/Taiwan strings on languagesupport.cpp
please use for translating strings retroshare_zh_CN.ts or retroshare_zh_TW.ts.
Attachments
rs.png
rs.png (77.91 KiB) Viewed 1314 times
User avatar
defnax
Site Admin
 
Posts: 415
Joined: Fri Oct 24, 2008 10:28 pm

Re: I found some problem in win32 version ....

Postby shikasan » Sun Mar 07, 2010 2:33 pm

i am using RetroShare 0.5.0 alpha 1.

i found a trouble that the charcteres are corrupted when the 'Files' pane shows the Japanese (and Chinese) filename.

i guess that the control does not accept multilingal, especially double-byte character (UTF, SJIS, EUC and so on)

i have not read the source code, but Qt Creator show the messages in Japanese and can write strings
in Japanese, thus i guess that RetroShare would be able to show the filename in Japanese and Chinese correctly.

this is the files to share.
ExplorerSSr.png
shared files
ExplorerSSr.png (38.39 KiB) Viewed 924 times


corrupted characters. (and the simplified Chinese file is missing?)
RetroShareSS.png
corrupted characters
RetroShareSS.png (41.21 KiB) Viewed 924 times


thx and regards,
shikasan
User avatar
shikasan
 
Posts: 3
Joined: Sun Feb 28, 2010 12:13 pm

Re: I found some problem in win32 version ....

Postby defnax » Sun Mar 07, 2010 3:05 pm

we has now problems with few translations like chinese translation and more.

Like it wont display the Chinese translations more, but Chinese translation is more then 80% translated.
Im not sure where this comes.

But old Japanese translation works bether but its not realy useable.
With which translation you are running RetroShare ?

We has thinked that the Sharing Chinese or Japanese filenames was fixed, seems its not realy fixed.
User avatar
defnax
Site Admin
 
Posts: 415
Joined: Fri Oct 24, 2008 10:28 pm

Re: I found some problem in win32 version ....

Postby shikasan » Sun Mar 07, 2010 5:35 pm

i guess transrations is not the cause of this problem.
i have tried to run RetroShare with Japanese translation.

Options.png
Options.png (22.35 KiB) Viewed 913 times

RetroShareSS2.png
RetroShareSS2.png (41.62 KiB) Viewed 913 times


it seems the result was the same.

would you like to tell me where the pane (like 'My Directories') is defined in the sources?
it may be that i could figure out the cause of problem.

thx and regards,
shikasan
User avatar
shikasan
 
Posts: 3
Joined: Sun Feb 28, 2010 12:13 pm

Re: I found some problem in win32 version ....

Postby defnax » Sun Mar 07, 2010 5:41 pm

You problems has todo with display or use the japanese or chinese characters correctly seems when it has some not readable characters in filenames retroshare wont display correctly or wont share it.

the display of the filename is defined in RemoteDirModel but normally it must work, im not sure why like this type we use:

for dirs :
Code: Select all
else if (details.type == DIR_TYPE_DIR) /* Dir */
{
switch(coln)
{
case 0:
 return QString::fromUtf8(details.name.c_str());
break;
case 1:


and for filenames:
Code: Select all
else if (details.type == DIR_TYPE_FILE) /* File */
{
switch(coln)
{
case 0:
return QString::fromUtf8(details.name.c_str());
break;
case 1:
User avatar
defnax
Site Admin
 
Posts: 415
Joined: Fri Oct 24, 2008 10:28 pm

Re: I found some problem in win32 version ....

Postby shikasan » Sun Mar 07, 2010 6:45 pm

thx

defnax wrote:You problems has todo with display or use the japanese or chinese characters correctly seems when it has some not readable characters in filenames retroshare wont display correctly or wont share it.

yes. my problem is i can not deal with the japanese characters correctly in such cases.

i am a newcomer to Qt. but, i installed it on my pc and just trying it.

defnax wrote:the display of the filename is defined in RemoteDirModel but normally it must work, im not sure why like this type we use:


i really do not sure, but the code seems no problem.
i have checked 'trunk\retroshare-gui\src\gui\SharedFilesDialog.ui' too, because i think it would be mistakes of UI definition, but it seems that the properties (fonts, locale...) are no problem.

i know now, it is not so easy problem...
User avatar
shikasan
 
Posts: 3
Joined: Sun Feb 28, 2010 12:13 pm


Return to RetroShare for Windows

Who is online

Users browsing this forum: No registered users and 1 guest