Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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, 14 years ago

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, 14 years ago

Resolution: No Bug
Status: newclosed

comment:3 by J-Paul Mesnage, 14 years ago

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.