1

The Euro symbol, when running an .au3 file in SciTE4AutoIt3, is represented as x80. Example:

enter image description here

What is it and why does it happen?

user4157124
  • 2,809
  • 13
  • 27
  • 42
SimBeSim
  • 9
  • 5
  • 1
    Are you using the Scite4Autoit or do you use SciteLite? In my Scite console there is no problem showing the € symbol. – Xenobiologist Aug 15 '17 at 11:56
  • I found the cause of this behavior and when changed in SciTEGlobal.properties value of **output.code.page=0** from 65001 to 0 was € displayed again. – SimBeSim Aug 22 '17 at 22:04

1 Answers1

1

What is it …

As per Documentation - Intro - Unicode Support:

There are a few parts of AutoIt that don't yet have full Unicode support. These are:

  • Console operations are converted to ANSI.
    • (ANSI/Windows-1252) equals:
      • x80 (hexadecimal),
      • 128 (decimal).

    … why does it happen?

    As per Documentation - Language Reference - Datatypes:

    In AutoIt there is only one datatype called a Variant. A variant can contain numeric or string data and decides how to use the data depending on the situation it is being used in.

    Issuing ConsoleWrite(0x80 & @LF) demonstrates stated behavior (SciTE4AutoIt3's behavior may differ from regular SciTE). In SciTE4AutoIt3 provided code returns:

       €
    
       €
    

    Also, ALT + [ 0 - 1 - 2 - 8 ] produces .

    user4157124
    • 2,809
    • 13
    • 27
    • 42