[Gambas-user] problem with dir...

Bodard Fabien gambasfr at ...11...
Sun Feb 20 23:04:56 CET 2005


Le dimanche 20 Février 2005 21:04, Oliver Stieber a écrit :
> Hi, Dir(directory, *) keeps giving me an error 'bad
> string conversion' I've tied it down to files with
> 8bit filenames e.g.
> Jean - Michel Jarre - Oxyg<E8>ne, <e8> being a forward

i think you are trying to use a string you have typed on a texbox...

type this:
Dir(conv(directory, Desktop.Charset, System.Charset), *)

in fact qt use the utf8 charset and the system another !

Fabien Bodard

>
>
>
>
>
>
>
>
> ___________________________________________________________
> ALL-NEW Yahoo! Messenger - all new features - even more fun!
> http://uk.messenger.yahoo.com
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list