Follow-up Comment #5, bug #34486 (project gnustep):

Oh, you can do this: (UTF8 macro just for clarity)

#define UTF8(x) [NSString stringWithUTF8String: x]
#define kTrackNames [NSArray arrayWithObjects: UTF8("Tannhäuser Stargate"),
UTF8("Soylent Black"), UTF8("Quantum Circuit"), UTF8("Blaspheme Quarantine"),
UTF8("Frogpill Quasar"), UTF8("Terminal Velocity"), nil]

That works by default in gcc for me. It should work as long as the compiler
stores C constant strings as UTF-8.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34486>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to