xlladdins / xll

Excel add-in library
MIT License
104 stars 23 forks source link

Unicode text in function arg names, descriptions and etc #2

Closed rentocika closed 3 years ago

rentocika commented 3 years ago

Hello! In previos version of XLL I use russian text for function arguments descriptions? help text and much more by using wstring with _T(). How to do this in new version? Thank you!

keithalewis commented 3 years ago

Молодец! The new library uses UTF-8 at the user level and converts to MBCS (Excel4) or UTF-16 (Excel12 and later) behind the scenes as appropriate. Here is the fix that now uses the correct code page. The XLL.MACRO example should display "XLL.MACRO called with активный cell: ..." now. Let me know if you find anything else amiss. Большой спасибо!

rentocika commented 3 years ago

Thank you! Fixed.