Modify

#2227 closed Bug (No Bug)

GUICtrlCreateEdit doesn't have full Unicode support

Reported by: sleeping.love@… 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.

http://img829.imageshack.us/img829/2019/13577815.png

Attachments (0)

Change History (3)

comment:1 by BrewManNH, on Jun 28, 2012 at 3:09:38 PM

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.

comment:2 by trancexx, on Jun 28, 2012 at 3:14:06 PM

Resolution: No Bug
Status: newclosed

comment:3 by J-Paul Mesnage, on Jul 17, 2012 at 6:41:35 AM

At least it must be removed from the doc/Udf constants

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.