Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateLayer Two Labs, drivechains for Bitcoin

UTF-8 to ANSI hack in CAboutDialog

To: Martti Malmi <mmalmi@cc.hut.fi> Martti Malmi
What was the reason for this change?

#if !wxUSE\_UNICODE
...
if (str.Find('Â') != wxNOT\_FOUND)
str.Remove(str.Find('Â'), 1);
to:
if (str.Find('�') != wxNOT\_FOUND)
str.Remove(str.Find('�'), 1);

wxFormBuilder turns the (c) symbol into UTF-8 automatically.  On
wxWidgets-2.8.9 ansi, it shows as a copyright symbol with an extra trash
character, which this hack fixes up for the non-unicode (ansi) case.

All writings · Satoshi era timeline

0:000:00