Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 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 Changed 12 years ago by BrewManNH

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 Changed 12 years ago by trancexx

  • Resolution set to No Bug
  • Status changed from new to closed

comment:3 Changed 12 years ago by Jpm

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.