• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange character transformation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange character transformation


  • Subject: Strange character transformation
  • From: "Peter Hudson" <email@hidden>
  • Date: Mon, 02 Feb 2004 21:11:25 +0000

I read an RTF file into an NSString with stringWithContentsOfFile.

The RTF contains a French capital E with acute accent. When I check the RTF file, this character is represented 0xc9 - which is correct unicode for the character.

When imported into the string the 0xc9 has become 0x2026 - which is unicode for elipses ( ...)

When I write this string to an NSTextView it appears correctly on screen as E acute.

When however the character 0x2026 is displayed in an NSTableView cell it appears as elipses.

Any one able to point me in the right direction ?

Peter Hudson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Strange character transformation
      • From: Ali Ozer <email@hidden>
  • Prev by Date: Re: Packager
  • Next by Date: Re: Cocoa/Windows parallel dvlpmt
  • Previous by thread: Re: Name instance variables, methods and parameters.
  • Next by thread: Re: Strange character transformation
  • Index(es):
    • Date
    • Thread