Re: 8-bit chars in @""
Re: 8-bit chars in @""
- Subject: Re: 8-bit chars in @""
- From: Ondra Cada <email@hidden>
- Date: Wed, 20 Mar 2002 18:05:36 +0100
On Wednesday, March 20, 2002, at 05:48 , Erik J. Barzeski wrote:
I read the documentation the other day and it notes that @"" is a useful
shortcut (we all knew that). It also says it takes only 7-bit characters.
NSStrings are of course Unicode (loosely put).
...
They don't print properly when used in #warnings or in NSLogs. Yet they
work
just fine when the application is used. They're properly inserted into
text
fields, etc. Any idea?
Yup. Do believe the documentation and don't use them.
Use NSLocalizedString and companions to get any Unicode values -- you can
easily do that even if they are in fact not localizable (with the
appropriate strings table directly in Resources).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.