Opened 14 years ago

Closed 14 years ago

#1305 closed Bug (No Bug)

GUISetFont, GUICtrlCreateTreeViewItem, korean language combination bug

Reported by: xyz33 <flash8@…> Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


If you use the korean language with a treeview (GUICtrlCreateTreeViewItem) and use a GUI font (GUISetFont) then whatever parameter you use the text cannot be shown.

Example script with UCS-2 Big Endian Encoding:

#include <GUIConstants.au3>


GUISetFont(8, 300, 0, "Verdana"); <- if you comment this out than it works

$TreeView = GUICtrlCreateTreeView(50, 50, 150, 40)
GUICtrlCreateTreeViewItem("korean 업데이트", $TreeView)
GUICtrlCreateTreeViewItem("chinese 出碎片整理", $TreeView)

GUISetState ()

While 1
    $msg = GuiGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

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

This is not a bug. The font you choose must contain Chinese and Korean characters in order for it to know what to render. Presumably the default font you have configured contains those characters. When you change to a different font that doesn't contain those characters... then the non-Latin characters can't be rendered.

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.