Luflosi c0c7cfacc2
Fix NSLog() printing of unicode format strings
See https://stackoverflow.com/questions/720052/nslog-incorrect-encoding.
The `%s` format placeholder for `NSLog()` expects an encoding other than UTF-8, which leads to garbled Unicode characters when trying to print a UTF-8 encoded string.
```Objective-C
NSLog(@"Ä %s %@", "Ä", @("Ä"));
```
prints `Ä √Ñ Ä`.

As can be seen in the example above, the workaround is to convert the UTF-8 encoded C-string to an `NSString` object and print that instead.
`debug_key()` calls `NSLog()`.
2019-08-30 15:03:51 +02:00
..
2019-07-18 15:51:54 +05:30
2019-08-26 12:31:15 +02:00
2019-08-26 16:47:19 +02:00
2019-08-26 12:31:15 +02:00
2019-07-29 09:45:02 +05:30
2019-02-02 22:08:32 +01:00
2019-08-26 12:31:15 +02:00
2019-08-26 12:31:15 +02:00
2019-08-26 12:31:15 +02:00