diff --git a/exec/load/dd_lightbar_menu.js b/exec/load/dd_lightbar_menu.js index 1b3a18552aac3370ab2338bb4b63eb1681a400d0..f44c12ea88faf326a56a2d53b1c70ceffa67e0e2 100644 --- a/exec/load/dd_lightbar_menu.js +++ b/exec/load/dd_lightbar_menu.js @@ -1743,8 +1743,10 @@ function DDLightbarMenu_ItemTextIsUTF8(pIdx) var item = this.GetItem(pIdx); var isUTF8 = item.textIsUTF8; - if (!isUTF8) - isUTF8 = str_is_utf8(item.text); + // TODO: str_is_utf8() seems to return true sometimes when the + // string doesn't actually have UTF-8 characters. + //if (!isUTF8) + // isUTF8 = str_is_utf8(item.text); return isUTF8; }