Jump to content

Printing to AutoIt Console in Cyrillic


Recommended Posts

Hello, 

I have searched and found several topics on printing to the AutoIt console using different languages but I'm still stumped. I saw I could add lines to the users.properties file

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

But my text isn't showing up in language. 

My script is opening up a program that has been translated to Russian on a Russian OS (Windows). I grab the text of the menus and want to print the words to the console. 

What am I missing?

Thank you.

Cygnus

Link to comment
Share on other sites

  • Developers

try using this udf to display the output:

; Show UTF characters in a proper way with ConsoleWrite
; Author: jchd
Func __ConsoleWrite($s)
    ConsoleWrite(BinaryToString(StringToBinary($s, 4), 1))
EndFunc   ;==>__ConsoleWrite

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.
  :)

Link to comment
Share on other sites

  • 3 years later...
  • Developers

So did you try the provided solution? 
... or else simply post you code having the issue when you want some help without us having to guess. ;) 

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.
  :)

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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