FROM : Peter Bierman
DATE : Thu Dec 02 21:15:10 2004
At 11:22 AM +0100 12/2/04, Daniel Eggert wrote:
>When I build I get a
> warning: non-ASCII character in CFString literal
>every time i have a NSString constant with non-ASCII characters. (e.g. @"æ").
>
>I can seem to figure out what build setting is
>causing this. Anyone have a clue.
You can use -Wno-nonportable-cfstrings to disable the warning.
But as others said, if this is one of a
collection of strings that are selected
dynamically for different localizations, you
should instead load the strings from .strings
files using NSLocalizedString()
-pmb
DATE : Thu Dec 02 21:15:10 2004
At 11:22 AM +0100 12/2/04, Daniel Eggert wrote:
>When I build I get a
> warning: non-ASCII character in CFString literal
>every time i have a NSString constant with non-ASCII characters. (e.g. @"æ").
>
>I can seem to figure out what build setting is
>causing this. Anyone have a clue.
You can use -Wno-nonportable-cfstrings to disable the warning.
But as others said, if this is one of a
collection of strings that are selected
dynamically for different localizations, you
should instead load the strings from .strings
files using NSLocalizedString()
-pmb
| Related mails | Author | Date |
|---|---|---|
| Daniel Eggert | Dec 2, 11:22 | |
| David Dunham | Dec 2, 16:19 | |
| j o a r | Dec 2, 16:28 | |
| Peter Bierman | Dec 2, 21:15 | |
| Ali Ozer | Dec 2, 22:04 | |
| Clark Cox | Dec 3, 22:54 | |
| Daniel Eggert | Dec 8, 13:51 |






Cocoa mail archive

