Jump to content

Search the Community

Showing results for tags 'special char'.

  • 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 2 results

  1. $String = "áéőúűüóö" ConsoleWrite($String) My initial problem is SciTE unable to recognize the ű and ü and ő characters if I try to make a variable. Here is an other exaple: #include-once #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Res_Language=1038 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <Array.au3> #include <GuiConstantsEx.au3> #include <WindowsConstants.au3> #include "GUIListViewEx.au3" #include <GuiConstantsEx.au3> #include <WindowsConstants.au3> #include "GUIListViewEx.au3" #include <WinAPIConv.au3> #Include <WinAPI.au3> #include <WinAPIConv.au3> ;--------END OF INCLUDES---------------------------------         Local Const $SF_ANSI = 1         Local Const $SF_UTF16_LE = 2         Local Const $SF_UTF16_BE = 3         Local Const $SF_UTF8 = 4 $sCommand = "powershell.exe  Get-ChildItem" Local $iPid = Run($sCommand, @DesktopDir, @SW_SHOW, $STDOUT_CHILD) ProcessWaitClose($iPid) Local $sOutput = StdoutRead($iPid) ConsoleWrite(@CRLF) ConsoleWrite($sOutput) ConsoleWrite(_WinAPI_WideCharToMultiByte($sOutput,2)) ConsoleWrite(_WinAPI_MultiByteToWideChar($sOutput,2)) ConsoleWrite(BinaryToString(StringToBinary($sOutput, $SF_ANSI), $SF_UTF8)) ConsoleWrite(StringToBinary($sOutput, $SF_UTF8)) $aLang = StringRegExp($sOutput, "(*UCP)(\p{Latin}+(?:\s+\p{Latin}+)*)", 1) ConsoleWrite($aLang) In this script, I use Get-ChildItem to list the files and directories to the console, but if I the direcoty or file contains ű or ő or ü or ó etc. then it write out some strange characters. I have read some topic in this forum about this issue, and I have already tried some of the funtions (see above in the script). As you can see I changed the language Directive #AutoIt3Wrapper_Res_Language=1038 to hungarian, which contains these characters. Do you have any idea, how can I set to SciTE to recognize these charachters or how can I read properly from Powershell Console with these accents?
  2. Anyone know why _ArraySearch is not finding an entry with a single quote in it? Here is an example: #include <array.au3> Dim $array[3][2] $array[0][0] = "Testing is****fun" $array[1][0] = "Don't mess with me kid" $array[2][0] = "blah'blah" _ArrayDisplay($array) $index = _ArraySearch($array, "blah'blah", 0, 0, 0, 0, 1, 1) MsgBox(262144, 'Debug line ~' & @ScriptLineNumber, 'Selection:' & @CRLF & '$index' & @CRLF & @CRLF & 'Return:' & @CRLF & $index) ;### Debug MSGBOX
×
×
  • Create New...