Modify ↓
#2227 closed Bug (No Bug)
GUICtrlCreateEdit doesn't have full Unicode support
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | Cc: |
Description
I found a problem with GUICtrlCreateEdit. When i added $ES_OEMCONVERT style, it doesn't support Unicode!
$Edit1 = GUICtrlCreateEdit("", 20, 104, 220, 190, BitOR($ES_AUTOVSCROLL,$ES_OEMCONVERT,$ES_WANTRETURN,$WS_VSCROLL,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))
If remove $ES_OEMCONVERT, it'll work fine.
Attachments (0)
Change History (3)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.


That's basically what ES_OEMCONVERT does, it converts from ANSI to the OEM character set and then back to ANSI. It's a holdover from Windows 3.0 and shouldn't be used on any version of Windows released in the past decade or so. It is designed to be used on systems that don't support Unicode, so using it on one is pointless.