SciTE4AutoIt3中的欧元符号显示为x80

时间:2017-08-15 09:27:42

标签: autoit symbols euro

在SciTE4AutoIt3中运行.au3文件时,欧元符号表示为x80。例如:

enter image description here

它是什么以及它为什么会发生?

1 个答案:

答案 0 :(得分:1)

  

它是什么......

根据Documentation - Intro - Unicode Support

  

AutoIt的一些部分还没有完整的Unicode支持。这些是:
  

  • ...
  •   
  • 控制台操作转换为ANSI。
    • (ANSI / Windows-1252)等于:
      • x80(十六进制),
      • 128(十进制)。
      

    ......为什么会这样?

    根据Documentation - Language Reference - Datatypes

      

    在AutoIt中,只有一种称为Variant的数据类型。一个变种可以   包含数字或字符串数​​据,并决定如何使用数据   取决于它正在使用的情况。

    发布ConsoleWrite(0x80 & @LF) demonstrates声明的行为(SciTE4AutoIt3的行为可能与常规SciTE不同)。在SciTE4AutoIt3中提供的代码返回:

       €
    
       €
    

    此外, ALT + [ 0 - 1 - 2 - 8 生成