avmaksimov Posted yesterday at 05:07 AM Posted yesterday at 05:07 AM 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.
Developers Jos Posted yesterday at 07:40 AM Developers Posted yesterday at 07:40 AM I assume you are running this from SciTE? What is the exact console output you get ? 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.
bogQ Posted yesterday at 08:56 AM Posted yesterday at 08:56 AM (edited) @Jos he is probably getting something similar to For #include "чц.au3" Edited yesterday at 09:00 AM by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) 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.
avmaksimov Posted yesterday at 10:01 AM Author Posted yesterday at 10:01 AM 2 hours ago, Jos said: I assume you are running this from SciTE? What is the exact console output you get ? Yes. Via SciTE. @bogQwrote right. I see the same error.
Developers Jos Posted yesterday at 10:24 AM Developers Posted yesterday at 10:24 AM 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.
avmaksimov Posted yesterday at 11:51 AM Author Posted yesterday at 11:51 AM 1 hour ago, 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. 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 Jos Posted 1 hour ago Developers Posted 1 hour ago (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 22 minutes ago 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now