• 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
Re: Displaying Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Unicode


  • Subject: Re: Displaying Unicode
  • From: Aki Inoue <email@hidden>
  • Date: Thu, 29 Nov 2001 11:14:44 -0800

Bill,

Yes, it's a known problem in iTunes 2.0.1.

You should be able to download iTunes 2.0.2 with the fix for this problem from http://www.apple.com/downloads/macosx/apple/itunes.html.

Aki

On Thursday, November 29, 2001, at 10:16 AM, Bill Bumgarner wrote:

*Gack*

That would imply a potential bug in iTunes' tag editor. I will confirm against a third party source for externalized unicode strings and, if it is the case, report a bug against iTunes.

Thank you.

b.bum

On Thursday, November 29, 2001, at 01:11 PM, Ali Ozer wrote:

Well, the stream you have looks like plain old UCS-2, that is, NSUnicodeStringEncoding. One thing that looks wrong is that the byte order mark (BOM) seems reversed --- That is, it implies the characters are stored big endian, but they really are little endian. BOM is supposed to be 0xFEFF, which implies the chars are 0xB930, 0xC830, etc, which seem fishy (they are all over the map). If you instead reverse them, you get the much more reasonable 0x30B9, 0x30C8, etc. Doing this, and loading the resulting byte stream into TextEdit, I get a reasonable looking Japanese string (I have no idea what it says though). In addition, [NSString initWithContentsOfFile:] should just read this fine. No need to use TEC..
.

Ali
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Re: Displaying Unicode (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Displaying Unicode Followup (And Rendering Bug)
  • Next by Date: Re: Standard NSToolbarItems
  • Previous by thread: Re: Displaying Unicode
  • Next by thread: Re: Displaying Unicode Followup (And Rendering Bug)
  • Index(es):
    • Date
    • Thread