KomodoEdit icon indicating copy to clipboard operation
KomodoEdit copied to clipboard

Calltips and UTF-8 characters in PHPDoc

Open goozak opened this issue 4 years ago • 1 comments

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

goozak avatar Mar 30 '21 17:03 goozak

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.

th3coop avatar Apr 05 '21 15:04 th3coop