Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: ThinBasic(ThinAir) dislikes accented letters

  1. #1
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    71
    Posts
    69
    Rep Power
    13

    ThinBasic(ThinAir) dislikes accented letters

    Hi TB world.

    I encounter a curious behavior.
    I copied an old, tested, validated script in a directory, tryed to execute it .... Nothing occurs. ???
    I restested the script in the original environnement : ALL OK

    So, I tested the very simple script in the new environnement : Nothing occurs. ????
    '---Load Console Module
    Uses "Console"
    
    '---Print the magic words
    PrintL "Hello World from ThinBASIC!"
    PrintL
    PrintL "Press a key to end program before 5 sec"
    
    '---Wait for a key press
    WaitKey(5)
    
    If it is saved in a directory, for example W:\temp\test_dir it executes without problem.
    It is also possible to bundle it.


    The same script saved in a directory with an accented letter in the name
    W:\temp\dir_accentué does not execute. No console window, no error window
    It is also not possible to bundle it.

    no_bundle.png

    The script bundled in the directory without accent, copied to the directory with accent
    executes correctly.


    Environnement :
    Windows 7 pro SP1 french version
    ThinBasic 1.11.6.0

    LAST TEST ::
    It works in an accented dir on a pc running ThinAir 1.10.7.0
    It works in an accented dir on a pc running ThinAir 1.11.1.0


    Thank for help, I have plenty accented dirs

    Dany

    ======================================== EDIT ==================

    Last test :

    On another PC (always W7 SP1) I downloaded TB 1.11.7.0 ..

    Still not running in accented dir, but .....
    A Windows popup error message appears :

    errormsg.png
    More text :


    Nom d’événement de problème: APPCRASH
    Nom de l’application: thinBasic.exe
    Version de l’application: 1.11.6.0
    Horodatage de l’application: 00003039
    Nom du module par défaut: THINCORE.DLL
    Version du module par défaut: 1.11.6.0
    Horodateur du module par défaut: 00003039
    Code de l’exception: c0000005
    Décalage de l’exception: 000c19d2
    Version du système: 6.1.7601.2.1.0.256.48
    Identificateur de paramètres régionaux: 1036
    Information supplémentaire n°*1: 0a9e
    Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
    Information supplémentaire n°*3: 0a9e
    Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789


    If these info can help ?


    Dany
    Last edited by dco045; 12-02-2023 at 01:27. Reason: More tests

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Thanks for reporting.

    The fact it is happening in so many places must be related to a single failure point.
    Will have a look soon.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    I've tried ...

    with a directory with accent letter dir_accentué ... my Antivirus TrendMicro delete thinAir as a virus telling it is trying to crypt something
    with the same directory without any accented letter dir_accentu all is ok

    mmmmmmmh
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    71
    Posts
    69
    Rep Power
    13

    On investigation...

    Quote Originally Posted by ErosOlmi View Post
    I've tried ...

    with a directory with accent letter dir_accentué ... my Antivirus TrendMicro delete thinAir as a virus telling it is trying to crypt something
    with the same directory without any accented letter dir_accentu all is ok

    mmmmmmmh
    Hi Eros.

    I can't test now.

    I'll try this evening,after sopping antivirus ( Microsoft Security Essentials )
    and keep you informed.

    Regards,

    Dany

  5. #5

    I think I encountered the same problem.

    Hello Eros, hello Dany

    I just whish to add a small stone to this discussion.

    In 2020, a friend of me had to work from home, Covid obliges.
    She had to send documents (one .docx and two .xlsx), as well as a report email.
    The sending had to be done by FTP. She's not a computer professional at all, she has a good practice of office, but FTP is Greek to her.
    So I wrote her a little script to make these xfers. ThinBasic not being installed on her PC (from his company), so I sent her the bundled version, with the source code.
    Everything went well, working properly.

    A few months ago while I was abroad, without any computer mean at my disposal, I had to change the email address where to send the report. Over the phone, I told her to download ThinBasic and install it on his PC. It was version 1.11.6.0
    I explained to her how to open the source code of the script with ThinAir and how to modify the email address.
    When I told her to click on the green arrow (RUN), she told me that an error window appeared. Without being able to help her further, she had to do her transfers manually by email with the intervention of the recipient company.

    Being too far away, I couldn't help her more. On my return I modified the source code of the script, I bundled it, sent it to her and everything was back to normal.

    Reading DCO045's post, I remembered this problem.

    My friend's home directory is C:\Users\Françoise . It is not an accent, it is a cedilla ...

    After reading DCO045 post I tested in a comparable environnement, and the crash appears

    The problem persists even with antivirus desactivated.

    I tested in %HOMEPATH%\Téléchargements .... the programs works OK because the true name is %HOMEPATH%\Downloads



    Best regards



    Yann
    Last edited by Yann_F_29; 14-02-2023 at 01:28. Reason: Add dowloads directory

  6. #6
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    71
    Posts
    69
    Rep Power
    13

    Complementary tests

    Hi Eros, hi Yann

    I was just testing when I read Yann's post.

    I also tested with and without antivirus active : same comportement.

    I attached a file generated when error occurs.
    The extension is .wer but it is a text file.

    If it can help ?



    Best regards


    Dany
    Attached Files Attached Files

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Ciao Dany, Yann

    thanks a lot for your help.

    Yesterday evening I started to have a look at the problem but still didn't find what is exactly causing this mess.
    I think it is related to some ANSI/OEM/UTF8 conversion in some places of Core engine and thinAir

    I will have more time during next week-end but keep trying daily anyway.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  8. #8
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    71
    Posts
    69
    Rep Power
    13

    New problem with accents

    Hi Eros,


    I encounter a new accent problem.

    the ASC(StringExpression [, position]) exhibits a curious comportement.



    Just try the script given as example in ASC help file, inserting an accented char to hello string, even in last position.

    And see the collection of zeroes.

    Maybe the position var is fooled by 16 bits chars ?



    Best regards.

    Dany

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    I think I've found the problem.
    Will release a new update soon

    Thanks for reporting
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  10. #10
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    71
    Posts
    69
    Rep Power
    13
    Quote Originally Posted by ErosOlmi View Post
    I think I've found the problem.
    Will release a new update soon

    Thanks for reporting
    Hi Eros,

    Does the problem has the same cause as the first post of this thread ?


    Best thinks


    Dany
    Last edited by dco045; 16-06-2023 at 19:56.

Page 1 of 2 12 LastLast

Similar Threads

  1. i18n internationalization functionality in thinbasic / thinair
    By DirectuX in forum Suggestions/Ideas discussions
    Replies: 23
    Last Post: 18-11-2018, 17:12
  2. about LETTERS$() and LETTER_SetMask$() Functions
    By primo in forum thinBasic General
    Replies: 2
    Last Post: 26-10-2017, 21:20

Members who have read this thread: 8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •