Jump to content

Changes in Germen "umlaute" after compiling


blumi
 Share

Recommended Posts

When I compile a autoit script with the new version 3.8.14.1 my comments in the code get modified.

For example

Lokale Konfiguration prüfen 

will be changed to

Lokale Konfiguration prüfen

I don't want this modification, what can I do?

Link to comment
Share on other sites

Without seeing your cody it is impossible to help. 

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

I don't think this has something to do with the code.

After compiling the script, the changes are made by the editor or autoit.

 

Of course you can have some code...

 

; Lokale Konfiguration prüfen (Configfile liegt im Scriptverzeichnis)
If (FileExists(@ScriptDir & "\" & $ConfigFile)) Then
    $config = @ScriptDir & "\" & $ConfigFile
Else
    ; Netzwerkkonfiguration (Configfile liegt auf dem Server im Pfad \Administration\AutoIt\ von dem das Script ausgeführt wird)
    Dim $SplitDrive, $SplitDir, $SplitFileName, $SplitExtension
    $SplitPath      = _PathSplit (@ScriptFullPath, $SplitDrive, $SplitDir, $SplitFileName, $SplitExtension)
    $SplitServer    = $SplitPath[1]
    $config             = $SplitServer & $ConfigPfad & $ConfigFile
EndIf

;MsgBox(0, $ScriptName, "Config: " & $config)



; Konfiguration einlesen und Server definieren
If (FileExists($config)) Then

    ; Anzahl der Einträge im Bereich IP feststellen
    $aArray = IniReadSection($config, "IP")
    $counter = $aArray[0][0]

    ; Übereinstimmung der eigenen IP Adresse und den Vorgaben aus dem INI File überprüfen
    For $i = 1 To $counter
        If (StringInStr (@IPAddress1, $aArray[$i][1])) OR (StringInStr (@IPAddress2, $aArray[$i][1])) Then

            ; Standord aus dem Array auslesen. Das = Zeichen im String FR=10.112. trennt die Werte in Spalten
            $standort = $aArray[$i][0]

            ; Server anhand von $standort auslesen
            $server = IniRead ($config, "Server", $standort, "Fehler")

            ; OU definieren anhand vom Standort
            If($standort = "FR") Then
                $ou = "OU=Workstations,DC=emi,DC=fhg,DC=de"
            ElseIf($standort = "EK") OR ($standort = "KA") Then
                $ou = "OU=Workstations,DC=wiwei,DC=emi,DC=fhg,DC=de"
            EndIF

        EndIf
    Next

    ; Serverpfad anpassen, für weitere Verwendung
    $Server = "\\" & $server & "\"

Else
    MsgBox (16, $ScriptName, "Die Konfigurationsdatei " & $config & " wurde nicht gefunden.")
    Exit(1)
EndIf

 

Link to comment
Share on other sites

Switch SciTE to UTF8: File > Encoding > UTF8

add space anywhere, remove space then save.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Add this line to SciTE > Options > Open User Options File :

NewFileEncoding=UTF8

Now every new file will be UTF8 by default.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

No changes.

After compiling the script Scite refreshes the script and goes back to "Code Page Property" and shoes all "ü" as "ü"

Okay, new Files are set to UTF8 I have seen.

But when I edit an old one I have still the problems.

Edited by blumi
Link to comment
Share on other sites

Are you running the latest SciTE4AutoIt3 ?

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

I never met the problem with recent versions and all my files have been UTF8 for years so I don't see what I could advise. Try asking Jos.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

  • Developers

We seem to have 2 threads running with an issues like this.

Please try the current SciTE beta version 3.6.0 to see if that works for you.

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