CnPack Forum


 
Subject: [BUG Report] on Duplicate ctrl+alt+d and unicode char
delphichem
普通灌水员
Rank: 2



UID 34626
Digest Posts 0
Credits 58
Posts 20
点点分 58
Reading Access 10
Registered 2007-12-23
Status Offline
Post at 2009-2-19 17:49  Profile | Blog | P.M. 
[BUG Report] on Duplicate ctrl+alt+d and unicode char

Dear Passion,
After selecting a block containing arabic char and click on diplicate or pressing ctrl+alt+d
the destination block is well but the source block loose unicode and the selection shifted.

this is the block that you can try

    if Self.Tag = 0 then
      MyShowMessage('Date Du obligatoire', 'w')
    else
      MyShowMessage('???? ' + GetCaption('', '_DU') + ' ??????', 'w');
    Exit;
Top
delphichem
普通灌水员
Rank: 2



UID 34626
Digest Posts 0
Credits 58
Posts 20
点点分 58
Reading Access 10
Registered 2007-12-23
Status Offline
Post at 2009-2-19 17:51  Profile | Blog | P.M. 
I see that the arabic char are replaced by '??????' in my first post, what can i do to poste the appropriate char?
(I have written on fast post)

[ Last edited by  delphichem at 2009-2-19 19:09 ]


Image Attachment: [ScreenShot] CTRL+ALT+D.bmp (2009-2-19 19:09, 1.26 M)

Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-2-20 00:07  Profile | Blog | P.M. 
Oh, it's a bug.
After checking,  CnWizards missed a UTF8 conversion when processing this duplicating operation in BDS, and the text in Editor is UTF8 format.

We'll correct it in Delphi 2007 or 2006/2005.
But it's different in Delphi 2009. Maybe there're other problems in Dephi 2009 for this function.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-2-20 00:20  Profile | Blog | P.M. 
Please try our 0.91.485 version?
Top
delphichem
普通灌水员
Rank: 2



UID 34626
Digest Posts 0
Credits 58
Posts 20
点点分 58
Reading Access 10
Registered 2007-12-23
Status Offline
Post at 2009-2-20 05:16  Profile | Blog | P.M. 
Dear Passion, I've test 0.91.485 and if function correctly (Delphi 2009)

Thank you very much for the quick fix
Top
delphichem
普通灌水员
Rank: 2



UID 34626
Digest Posts 0
Credits 58
Posts 20
点点分 58
Reading Access 10
Registered 2007-12-23
Status Offline
Post at 2009-10-14 18:31  Profile | Blog | P.M. 
Hi unfortunately the problems is back in the last version on Delphi 2009 and 2010
Top
delphichem
普通灌水员
Rank: 2



UID 34626
Digest Posts 0
Credits 58
Posts 20
点点分 58
Reading Access 10
Registered 2007-12-23
Status Offline
Post at 2009-10-25 16:32  Profile | Blog | P.M. 
sorry but I don't understant Chinese language
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-10-31 23:00  Profile | Blog | P.M. 
This bug seems still exists in Delphi 2009/2010, we'll check it.
Top
 




All times are GMT++8, the time now is 2022-8-9 22:50

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.012030 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP