Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Swedish Characters?



On Thu, 30 Dec 2004 21:27:46 -0500, Jerry LeVan <email@hidden> wrote:
>  >I have a Latin1 database, fields containing swedish characters , like
> the name "Sölve" appears as empty strings >in the result list.
> 

The problem might be here:

>      return [NSString stringWithUTF8String:value];

UTF-8 agrees with Latin-1 on the subset of characters covered by
ASCII, but not on all of Latin-1.  There's a good chance that the
Latin-1 encoding of "Sölve" is not a valid UTF-8 encoded string at
all.

-Ken
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Displaying Swedish Characters? (From: Jerry LeVan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.