Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Problem with menu accelerators
Re: Problem with menu accelerators [message #50361 is a reply to message #50360] Wed, 03 October 2018 17:42 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Novo wrote on Wed, 03 October 2018 17:15
mirek wrote on Wed, 03 October 2018 03:26

Anyway, accelerators are inserted as UTF8 unicode characters. This looks like this UTF8 is not interpreted correctly. Is your app running in CHARSET_UTF8?

Actually, it was running in CHARSET_WIN1250.
I was calling SetDefaultCharset(CHARSET_WIN1250), probably, for historical reasons.
I guess UPP shouldn't rely on default charset in places like menu accelerators.


That would be hard to integrate ("shouldn't rely" part).

I think we should just deprecate SetDefaultCharset.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl is currently broken
Next Topic: The last roadbloack... workaround for NSMenu issue
Goto Forum:
  


Current Time: Fri Aug 22 03:11:14 CEST 2025

Total time taken to generate the page: 0.00741 seconds