mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-27 03:25:44 +00:00
cef198c9cb
Hiroyuki Iwatsuki If you pass the C string directly to NSLog(), it will be garbled with Japanese and probably other language strings, or no log will be output at all. NSLog("Hello, World!"); // => "Hello, World!" NSLog("こんにちは、世界!"); // => No output... Therefore, you need to convert the string to an NSString before passing it to NSLog(). NSString *str = [NSString stringWithUTF8String:"こんにちは、世界!"]; NSLog(@"%@", str); // => "こんにちは、世界!" Thank you. |
||
---|---|---|
.. | ||
SDL_cocoaclipboard.h | ||
SDL_cocoaclipboard.m | ||
SDL_cocoaevents.h | ||
SDL_cocoaevents.m | ||
SDL_cocoakeyboard.h | ||
SDL_cocoakeyboard.m | ||
SDL_cocoamessagebox.h | ||
SDL_cocoamessagebox.m | ||
SDL_cocoametalview.h | ||
SDL_cocoametalview.m | ||
SDL_cocoamodes.h | ||
SDL_cocoamodes.m | ||
SDL_cocoamouse.h | ||
SDL_cocoamouse.m | ||
SDL_cocoamousetap.h | ||
SDL_cocoamousetap.m | ||
SDL_cocoaopengl.h | ||
SDL_cocoaopengl.m | ||
SDL_cocoaopengles.h | ||
SDL_cocoaopengles.m | ||
SDL_cocoashape.h | ||
SDL_cocoashape.m | ||
SDL_cocoavideo.h | ||
SDL_cocoavideo.m | ||
SDL_cocoavulkan.h | ||
SDL_cocoavulkan.m | ||
SDL_cocoawindow.h | ||
SDL_cocoawindow.m |