Skip navigation.
 
mlImbedding unicode in strings
FROM : Craig Altenburg
DATE : Wed Jun 21 20:39:24 2006

The "Text Edit" sample applications defines strings with imbedded 
unicode characters:

    NSLocalizedString( @"Couldn\\U2019t open some of the specified 
files.", nil );

This works -- the string displays with the "curly" apostrophe instead 
of the plain ASCII one.

When I try the same thing in my program the "\U2019" is displayed.

I looked at the compiler flags but don't see anything that they're 
doing that would account for the difference in behavior.

Does anyone know what I need to do to get such strings recognized?

Thanks.
--
Craig

Related mailsAuthorDate
mlImbedding unicode in strings Craig Altenburg Jun 21, 20:39
mlRe: Imbedding unicode in strings Shaun Wexler Jun 21, 20:56
mlRe: Imbedding unicode in strings Nick Zitzmann Jun 21, 21:04
mlRe: Imbedding unicode in strings Clark Cox Jun 22, 16:48