Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

Calltips and UTF-8 characters in PHPDoc #3927

Open goozak opened 3 years ago

goozak commented 3 years ago

Given a function with a PHPDoc block [sorry, I'm a bit fuzzy on all the nomenclature] containing UTF-8 characters such as this:

/**
 * Génère une liste de sélection pour le rôle
 *
 * @param int $dom_id ID du domaine associé au rôle sélectionné dans cette liste
 * @param int $sel_id Optionnel. ID du rôle sélectionné par défaut.
 *                    Élément vide sélectionné si absent.
 * @return string Élément <select> avec tous les rôles et $sel_id de sélectionné (si présent)
 */
function getRoleSel($dom_id, $sel_id = '') {
    return 'Sample';
}

(with the file properly saved, and recognized by Komodo IDE, as UTF-8.)

The result shown when clicking the i button in the Calltip is: FunctionInfo

Platform Information

Komodo IDE, version 12.0.1, build 91869, platform win32-x86. Built on Mon Feb 10 18:14:23 2020. Windows 10 Pro / version 2004 / build 19041.867 / Windows Feature Experience Pack 120.2212.551.0

th3coop commented 3 years ago

I'm able to reproduce this but I can't think of a workaround and I'm not sure when someone will have time to work on a fix.