Jump to content

Search the Community

Showing results for tags 'hex chr dec'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi, not sure if there is a better way to do this because Chr() gives me issue. $writeFile = FileOpen("ztest", 2) ;open and erase If Not ($writeFile = -1) Then MsgBox(0, "", Chr(Dec("8E"))) FileWrite($writeFile, Chr(Dec("8E"))) EndIf FileClose($writeFile) 8E hex is 142 decimal AutoIt notes show that chr 142 is Ž With the above script: The message box shows character Ž - good. ztest in Windows notepad shows Ž - good. ztest in Windows wordpad shows as Ž - not good. ztest in Hex editor shows as C5 BD - not good. The extended character set is supposed to be available to chr(). If I want to write 8E to ztest (not C5 BD) how should I do it then? Thank you
×
×
  • Create New...