kicad-developers team mailing list archive
Mailing list archive
6.0 string proposal
We had talked earlier about throwing the wxWidgets UTF8 compile switch to get rid of our wxString re-entrancy problems. However, I noticed that the 6.0 work packages doc includes an item for std::string-ization of the BOARD. (While a lot more work, this is a better solution because it also increases our gui-toolkit-choice flexibility.)
I’d like to propose that we use std::wstring for that. UTF8 should *only* be an encoding format (similar to s-expr). It should never be used internally. That’s what unicode wchar_t’s are for.
And I’d like to propose that we extend std::wstring-ization to SCH_ITEM and LIB_ITEM. (Then we can get rid of a bunch of our ugly mutex hacks.)