[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #34486] gnustep has a problem with non-ascii string constants
From: |
Eric Wasylishen |
Subject: |
[bug #34486] gnustep has a problem with non-ascii string constants |
Date: |
Wed, 05 Oct 2011 21:03:30 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/534.48.3 (KHTML, like Gecko) Version/5.1 Safari/534.48.3 |
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 #34486] gnustep has a problem with non-ascii string constants, julian, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, Richard Frith-Macdonald, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, julian, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, Eric Wasylishen, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, Eric Wasylishen, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, julian, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants,
Eric Wasylishen <=
- [bug #34486] gnustep has a problem with non-ascii string constants, julian, 2011/10/05
- [bug #34486] gnustep has a problem with non-ascii string constants, Richard Frith-Macdonald, 2011/10/14
- [bug #34486] gnustep has a problem with non-ascii string constants, julian, 2011/10/15