#357 closed Bug (Completed)
@AutoItUnicode - obsolete
| Reported by: | Zedna | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.2.13.1 | Component: | AutoIt |
| Version: | 3.2.13.0 | Severity: | None |
| Keywords: | Cc: |
Description
@AutoItUnicode
Returns 1 if running using the Unicode version of AutoIt (AutoIt3.exe) or 0 if running the ANSI version (AutoIt3A.exe).
This macro is obsolete from 3.2.13 because ANSI version of AutoIt no longer exists.
Attachments (0)
Change History (5)
comment:2 by , on Jun 8, 2008 at 11:39:07 PM
I didn't know about that.
But @AutoItUnicode if it stay this way always returns true because it's based on Unicode version of AutoIt and not on Unicode version of some control.
follow-up: 4 comment:3 by , on Jun 8, 2008 at 11:52:16 PM
true, hmmm may need to put another check into many of the UDFs.
comment:4 by , on Jun 9, 2008 at 12:17:10 AM
Replying to Gary:
true, hmmm may need to put another check into many of the UDFs.
You probably mean
_GUICtrlListView_GetUnicodeFormat($hWnd)
_GUICtrlStatusBar_GetUnicodeFormat($hWnd)
...
So instead of
If @AutoItUnicode Then ...
use
If _GUICtrlListView_GetUnicodeFormat($hWnd) Then ... inside GUIListView.au3
If _GUICtrlStatusBar_GetUnicodeFormat($hWnd) Then ... inside GUIStatusBar.au3
...
comment:5 by , on Jun 10, 2008 at 4:40:11 PM
| Milestone: | → 3.2.13.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Removed in version: 3.2.13.1

I have to disagree with it being obsolete.
Most controls can have unicode turned off, therefore needing to call the ansi api function call(s).