Re: [Audacity-devel] P2 Crash in Unicode Release on Windows (only?) importing or exporting...
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Leland <le...@au...> - 2009-03-08 19:45:50
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> LRN wrote:<br> >> Ya know, I may be wrong here, but since you've added the URLProtocol, <br> >> you might as well take it one step further and create your own <br> >> URLContext. Then you could open the file using a wxFFile (which CAN <br> >> open Unicode names), store the file handle in priv_data, and call <br> >> url_fdopen instead of url_fopen() for export. It does complicate import <br> >> a bit though.<br> >> <br> > I'd like to avoid going more complex voodo-magic-things. I don't quite<br> > the URLProtocol thing already :)<br> > <br> That's fine, but if I'm understanding correctly why wxWidgets does what it does with WideCharToMultiByte(), then you'll still have trouble opening/creating files with Unicode characters.<br> <br> For instance, here's what I get when trying to import an m4a file with Greek characters in the name:<br> <br> <img alt="" src="cid:par...@au..." height="153" width="687"><br> <br> If you want, I can take a crack at doing the URLConext thing, though I'm still just working on theory and haven't actually tried it yet so I might not succeed.<br> <br> Leland<br> <br> </body> </html> |