Jump to content

Recommended Posts

Posted

Don't understand how to include file with cyrrilic path.

If I use UTF-8 BOM for file I see that Autoit can't include file with question mark in the path.

I also tried to use ANSI (Win-1251 codepage) and add strings in SciTEUser.properties:

code.page=65001
output.code.page=65001

but without success.

I didn't find the answer neither in Internet neither this forum.

Posted (edited)

@Jos he is probably getting something similar to

image.thumb.png.8b625de88f900f80beaa3cff4b984d30.png

For

#include "чц.au3"
Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)

  Reveal hidden contents


460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
  • Developers
Posted

I can replicate this and will take a look later this week to see why this is happening.
Strange this hasn't come up before, as I have fixed it for special Western Characters, but this doesn't seem to fix it for Cyrillic characters.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
  On 3/18/2025 at 10:24 AM, Jos said:

I can replicate this and will take a look later this week to see why this is happening.
Strange this hasn't come up before, as I have fixed it for special Western Characters, but this doesn't seem to fix it for Cyrillic characters.

Expand  

Thank you. I'll wait for your solutions. I faced with it on several computers. At my first computer I solved it many years ago but don't remember this solutions. May be some codepage for files and may be some scite or autoit settings.

  • Developers
  • Solution
Posted (edited)

After I changed this setting to UTF8, things would work fine for your example filename:

https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page#set-a-process-code-page-to-utf-8

Think that is the easiest way to get it working.

PS: Is Windows own locale set to Win-1251 too? 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
  On 3/19/2025 at 4:12 PM, Jos said:

After I changed this setting to UTF8, things would work fine for your example filename:

https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page#set-a-process-code-page-to-utf-8

Think that is the easiest way to get it working.

PS: Is Windows own locale set to Win-1251 too? 

Expand  

I see the same error after setting this parameter and rebooting.

image.png.2ca97788120e4dcd2b3c149b2ee67ead.png

Also I tried to use Ansi, UTF and UTF-BOM codepage for the main page but I see the same error. What code page right for the main and include files?

image.thumb.png.ea5bc448a25d0166d99394ad3da55b39.png

  • Developers
Posted (edited)

AutoIt3Wrapper directives aren't doing anything for you as you run the Script directly with AutoIt3.
You need the Full version of SciTE4AutoIt3 installed for those to work.

...but when running the script with AutoIt3.exe doesn't work, i doubt there is anything AutoIt3Wrapper is able to do.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Sorry. I've checked my script again and did some things with codepages. And now I see everything is ok.

It's strange. I don't know what did help. I think UTF-8 in Region Settings.

And BTW if you make an error in include file path that you'll see the strange error such as in the previous screenshot. But for the first time the path was good so I think UTF-8 settings helped.

Thank you very much!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...