Noticed the system uses unicode to represent stringsconst char* text = "Temp is 15 °C";The ° -char is ASCII B0 but is stored utf-8 two byte C2 B0
Actually, º is the ASCII character 167 (see here).
C, C++ stores strings as character arrays. The default interpretation for these strings is ASCII string, not Unicode. For Unicode, various converters should be used.