Unicode Filename Drag'n'Drop Problem

Erdem U. Altinyurt eua at dsl.ttnet.net.tr
Wed Jan 24 12:36:10 PST 2007


Hi,
I am using SuSE 10.2 x86_64 Linux GTK2 with English locale.

Both 2.6 and 2.8 gives same problem.
wx 2.6 is installed default with SuSE and
wx 2.8 is compiled by myself with Unicode, static flags.

I add "#define wxUSE_UNICODE 1" line to my headers.

Robert Roebling wrote:
> Erdem U. Altinyurt wrote:
>
>   
>> I am writer of DivFix++ AVI Fix and Preview program...(
>> http://divfixpp.sf.net )
>> I  have implemented Drag'nDrop support to wxListBox, but I realized
>> that, Unicode filenames not drag and drop correctly.
>>
>> for example, Filename is "filename", a with ^.
>> wxFileDialog returns this files name as "filen\340me"
>> But wxFileDropTarget::OnDropFiles returns this file name as "filename",
>> a with ^.
>> Than I couldn't open this file using wxFile. Because this filename is
>> not recognized.
>>
>> wxFile::Exists( "filen\340me" ) returns true but
>> wxFile::Exists( "filename" ) , a with ^, returns false.
>>
>> I applied bug report, but do you know a transition solution for this?
>>     
>
> What port of wxWidgets does the problem occur on. If on Linux with
> wxGTK, did you compile in Unicode mode? Are you using 2.8? What
> is the local encoding? 
>
>   Robert
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>   




More information about the wx-users mailing list