Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calltips and UTF-8 characters in PHPDoc #3927

Open
goozak opened this issue Mar 30, 2021 · 1 comment
Open

Calltips and UTF-8 characters in PHPDoc #3927

goozak opened this issue Mar 30, 2021 · 1 comment

Comments

@goozak
Copy link

goozak commented Mar 30, 2021

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 th3coop added this to the Backlog milestone Apr 5, 2021
@th3coop
Copy link
Member

th3coop commented Apr 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants