[ wxwindows-Bugs-1643699 ] Drag'n'Drop File Unicode error

SourceForge.net noreply at sourceforge.net
Wed Jan 24 09:00:58 PST 2007


Bugs item #1643699, was opened at 2007-01-24 19:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1643699&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Must fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Death Knight® (erdem_ua)
Assigned to: Nobody/Anonymous (nobody)
Summary: Drag'n'Drop File Unicode error

Initial Comment:
using wxWidgets 2.6 and 2.8 , gtk2, SuSE x64 bit linux...

I have some problem with files which has Unicode characters. 

Asume a file which name is "filename" but a with ^ sign.

While using wxFileDialog to select this file, returns it's name like "filen\340me". I can open this file and do what ever I want.

But if you drag and drop this file to my program, problem rises.
Using wxFileDropTarget::virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames){

It returns file name as "filename". I mean a with ^ not replaced with escape chars. Than its not opened with wxFile. I can't edit this file.

I think wxFileDropTarget has to be return file name as wxFileDialog::GetPaths() function.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1643699&group_id=9863




More information about the wx-dev mailing list