J'essaie d'insérer le caractère Unicode U+2022
(bullet •
) dans mon application C++.C++ Unicode Bullet Point
Je ne peux pas comprendre comment convertir que U + 2022 à un char/string pour une utilisation dans std :: constructeur string ...
char bullet = char(0x2022);
mPassword.SetText(std::string(mText.length(), bullet));
Celui-ci ne fonctionne pas. J'espère que vous pouvez aider !!
Merci
opatut
double possible de [Comment puis-je intégrer des constantes de chaîne unicode dans un fichier source?] (http://stackoverflow.com/questions/442735/how-can-i-embri-unicode-string-constants-in-a-source-file) –