[Gambas-user] How to manage filenames whit invalid characters in gambas.

Bruce Steers bsteers4 at gmail.com
Wed Feb 15 23:45:45 CET 2023


On Wed, 15 Feb 2023, 22:37 Bruce Steers, <bsteers4 at gmail.com> wrote:

>
>
> On Wed, 15 Feb 2023, 22:13 Martin, <mbelmonte at belmotek.net> wrote:
>
>> El 15/2/23 a las 18:00, Jussi Lahtinen escribió:
>> > Those are actually completely valid characters. What is the issue?
>>
>> Correct the characters are C3 (/303) etc. but in Gambas editor when
>> debugging is active, for example, is no possible see the vars values,
>> that includes this characters, by its selection, the result is one empty
>> rectangle.
>> File.Dir, File.Ext and File.Basename also doesn't work properly.
>> See the attachment that show the debug area.
>>
>
> Thi File methods work fine.
> The files do not have a dot where they should do.
>
> They are not valid filenames so you get problems.
>
> They need fixing. By you. First.
>
> BruceS
>

Its just one of the downsides of downloading audio from iffy websites I
guess 🙄
Probably wouldn't get those issues if you had got it legit 🤔😉


Just make a program to fix the invalid filenames, simples.

Something like that one liner I posted earlier 😎

Respects
BruceS

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230215/9290201d/attachment.htm>


More information about the User mailing list